| 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 d80b14f0662160fac1300d72d7cabe9a60c52eb5..5403ff1c339018818f101ff2c7b89464278d2dd2 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"
|
| @@ -183,12 +182,6 @@ using UntrustedJsonParser = safe_json::SafeJsonParser;
|
|
|
| } // 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,
|
|
|