Index: chrome/browser/chrome_browser_main_android.cc |
diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc |
index 0098f4b56b0c9fce5513217b4992638d40b21955..e18ad01a9ddf8ea84620459398938460868ffb84 100644 |
--- a/chrome/browser/chrome_browser_main_android.cc |
+++ b/chrome/browser/chrome_browser_main_android.cc |
@@ -7,6 +7,7 @@ |
#include "base/command_line.h" |
#include "base/debug/trace_event.h" |
#include "base/path_service.h" |
+#include "chrome/browser/google/google_search_counter_android.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
#include "components/breakpad/app/breakpad_linux.h" |
@@ -51,6 +52,11 @@ void ChromeBrowserMainPartsAndroid::PreProfileInit() { |
ChromeBrowserMainParts::PreProfileInit(); |
} |
+void ChromeBrowserMainPartsAndroid::PostProfileInit() { |
+ search_counter_.reset(new GoogleSearchCounterAndroid(profile())); |
+ ChromeBrowserMainParts::PostProfileInit(); |
+} |
+ |
void ChromeBrowserMainPartsAndroid::PreEarlyInitialization() { |
TRACE_EVENT0("startup", |
"ChromeBrowserMainPartsAndroid::PreEarlyInitialization") |