| Index: components/ntp_tiles/popular_sites.cc
|
| diff --git a/chrome/browser/android/ntp/popular_sites.cc b/components/ntp_tiles/popular_sites.cc
|
| similarity index 98%
|
| copy from chrome/browser/android/ntp/popular_sites.cc
|
| copy to components/ntp_tiles/popular_sites.cc
|
| index 0adb9328d825d70a5c95e63f3122fdaa519e6a1f..2012fdbcbee91753ebba716521394cf9b048ac00 100644
|
| --- a/chrome/browser/android/ntp/popular_sites.cc
|
| +++ b/components/ntp_tiles/popular_sites.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/android/ntp/popular_sites.h"
|
| +#include "components/ntp_tiles/popular_sites.h"
|
|
|
| #include <stddef.h>
|
|
|
| @@ -19,7 +19,6 @@
|
| #include "base/task_runner_util.h"
|
| #include "base/time/time.h"
|
| #include "base/values.h"
|
| -#include "chrome/common/chrome_paths.h"
|
| #include "components/google/core/browser/google_util.h"
|
| #include "components/ntp_tiles/pref_names.h"
|
| #include "components/ntp_tiles/switches.h"
|
| @@ -138,12 +137,6 @@ bool WriteJsonToFile(const base::FilePath& local_path,
|
|
|
| } // namespace
|
|
|
| -base::FilePath ChromePopularSites::GetDirectory() {
|
| - base::FilePath dir;
|
| - PathService::Get(chrome::DIR_USER_DATA, &dir);
|
| - return dir; // empty if PathService::Get() failed.
|
| -}
|
| -
|
| PopularSites::Site::Site(const base::string16& title,
|
| const GURL& url,
|
| const GURL& favicon_url,
|
|
|