Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1463)

Unified Diff: chrome/browser/chrome_browser_main_android.cc

Issue 1320553002: [Cleanup] Remove the no longer used GoogleSearch.AccessPoint metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a stale forward declaration Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main_android.h ('k') | chrome/browser/google/google_search_counter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c25fabcb5fc31c638c6a76193c66450e431337c2..659ea40c7a753f7e8dfaab1e202f3fbac649a5b5 100644
--- a/chrome/browser/chrome_browser_main_android.cc
+++ b/chrome/browser/chrome_browser_main_android.cc
@@ -12,7 +12,6 @@
#include "base/trace_event/trace_event.h"
#include "chrome/browser/android/chrome_media_client_android.h"
#include "chrome/browser/android/seccomp_support_detector.h"
-#include "chrome/browser/google/google_search_counter_android.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -82,20 +81,16 @@ int ChromeBrowserMainPartsAndroid::PreCreateThreads() {
}
void ChromeBrowserMainPartsAndroid::PostProfileInit() {
- Profile* main_profile = profile();
- search_counter_.reset(new GoogleSearchCounterAndroid(main_profile));
-
ChromeBrowserMainParts::PostProfileInit();
// Previously we stored information related to salient images for bookmarks
// in a local file. We replaced the salient images with favicons. As part
// of the clean up, the local file needs to be deleted. See crbug.com/499415.
- base::FilePath bookmark_image_file_path = main_profile->GetPath().Append(
+ base::FilePath bookmark_image_file_path = profile()->GetPath().Append(
PersistentImageStore::kBookmarkImageStoreDb);
content::BrowserThread::PostDelayedTask(
content::BrowserThread::FILE, FROM_HERE,
- base::Bind(&DeleteFileTask,
- bookmark_image_file_path),
+ base::Bind(&DeleteFileTask, bookmark_image_file_path),
base::TimeDelta::FromMinutes(1));
}
« no previous file with comments | « chrome/browser/chrome_browser_main_android.h ('k') | chrome/browser/google/google_search_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698