Skip to content

Commit

Permalink
Initialize base::FeatureList on Cronet init
Browse files Browse the repository at this point in the history
BUG=624435

Review-Url: https://codereview.chromium.org/2110803002
Cr-Commit-Position: refs/heads/master@{#402856}
  • Loading branch information
kapishnikov authored and Commit bot committed Jun 29, 2016
1 parent c67805c commit 3180f53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/cronet/android/cronet_library_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "base/android/jni_utils.h"
#include "base/android/library_loader/library_loader_hooks.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
Expand Down Expand Up @@ -97,6 +98,7 @@ void CronetInitOnMainThread(JNIEnv* env, const JavaParamRef<jclass>& jcaller) {
base::i18n::InitializeICU();
#endif

base::FeatureList::InitializeInstance(std::string(), std::string());
// TODO(bengr): Remove once Data Reduction Proxy no longer needs this for
// configuration information.
base::CommandLine::Init(0, nullptr);
Expand Down

0 comments on commit 3180f53

Please sign in to comment.