| Index: chrome/browser/extensions/api/top_sites/top_sites_api.h
|
| diff --git a/chrome/browser/history/top_sites_extension_api.h b/chrome/browser/extensions/api/top_sites/top_sites_api.h
|
| similarity index 75%
|
| rename from chrome/browser/history/top_sites_extension_api.h
|
| rename to chrome/browser/extensions/api/top_sites/top_sites_api.h
|
| index b752512b9db9c9c20c40cb218f35820eefb7e839..eea5444f97e5610c07689c4d6fecf66b71715d59 100644
|
| --- a/chrome/browser/history/top_sites_extension_api.h
|
| +++ b/chrome/browser/extensions/api/top_sites/top_sites_api.h
|
| @@ -2,13 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_
|
| -#define CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_TOP_SITES_TOP_SITES_API_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_TOP_SITES_TOP_SITES_API_H_
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/extensions/extension_function.h"
|
| #include "chrome/browser/history/history_types.h"
|
|
|
| +namespace extensions {
|
| +
|
| class GetTopSitesFunction : public AsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("topSites.get")
|
| @@ -28,4 +30,6 @@ class GetTopSitesFunction : public AsyncExtensionFunction {
|
| base::WeakPtrFactory<GetTopSitesFunction> weak_ptr_factory_;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_TOP_SITES_TOP_SITES_API_H_
|
|
|