Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/history/top_sites_extension_api.h

Issue 11522007: Move TopSites api from c/b/history to c/b/e/api (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_ungoop_history
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/top_sites_extension_api.h
diff --git a/chrome/browser/history/top_sites_extension_api.h b/chrome/browser/history/top_sites_extension_api.h
deleted file mode 100644
index b752512b9db9c9c20c40cb218f35820eefb7e839..0000000000000000000000000000000000000000
--- a/chrome/browser/history/top_sites_extension_api.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/extensions/extension_function.h"
-#include "chrome/browser/history/history_types.h"
-
-class GetTopSitesFunction : public AsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION_NAME("topSites.get")
-
- GetTopSitesFunction();
-
- protected:
- virtual ~GetTopSitesFunction();
-
- // ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
-
- private:
- void OnMostVisitedURLsAvailable(const history::MostVisitedURLList& data);
-
- // For callbacks may be run after destruction.
- base::WeakPtrFactory<GetTopSitesFunction> weak_ptr_factory_;
-};
-
-#endif // CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/history/top_sites_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698