| Index: chrome/browser/extensions/api/top_sites/top_sites_api.cc
|
| diff --git a/chrome/browser/history/top_sites_extension_api.cc b/chrome/browser/extensions/api/top_sites/top_sites_api.cc
|
| similarity index 92%
|
| rename from chrome/browser/history/top_sites_extension_api.cc
|
| rename to chrome/browser/extensions/api/top_sites/top_sites_api.cc
|
| index 4bcaa5b1e6458725f668e14637d3e8f73b9a5358..40ee0e949814a2f7f2fb6e717dc702cecba6d9c2 100644
|
| --- a/chrome/browser/history/top_sites_extension_api.cc
|
| +++ b/chrome/browser/extensions/api/top_sites/top_sites_api.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/history/top_sites_extension_api.h"
|
| +#include "chrome/browser/extensions/api/top_sites/top_sites_api.h"
|
|
|
| #include "base/bind.h"
|
| #include "base/values.h"
|
| @@ -10,6 +10,8 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
|
|
|
| +namespace extensions {
|
| +
|
| GetTopSitesFunction::GetTopSitesFunction()
|
| : ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {}
|
|
|
| @@ -45,3 +47,5 @@ void GetTopSitesFunction::OnMostVisitedURLsAvailable(
|
| SetResult(pages_value.release());
|
| SendResponse(true);
|
| }
|
| +
|
| +} // namespace extensions
|
|
|