| 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));
|
| }
|
|
|
|
|