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

Unified Diff: chrome/browser/bookmarks/bookmark_extension_api.h

Issue 8374023: Move bookmarks extension api implementation to bookmarks dir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps, rebase Created 9 years, 2 months 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
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_extension_api.h
diff --git a/chrome/browser/extensions/extension_bookmarks_module.h b/chrome/browser/bookmarks/bookmark_extension_api.h
similarity index 94%
rename from chrome/browser/extensions/extension_bookmarks_module.h
rename to chrome/browser/bookmarks/bookmark_extension_api.h
index 9004b3142fafc10408e8c818c0ed50313685e2ca..5ca16b1b26c42342db7c22c9d292603fd067933e 100644
--- a/chrome/browser/extensions/extension_bookmarks_module.h
+++ b/chrome/browser/bookmarks/bookmark_extension_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
+#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
+#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
#pragma once
#include <list>
@@ -26,10 +26,10 @@ class ListValue;
// Observes BookmarkModel and then routes the notifications as events to
// the extension system.
-class ExtensionBookmarkEventRouter : public BookmarkModelObserver {
+class BookmarkExtensionEventRouter : public BookmarkModelObserver {
public:
- explicit ExtensionBookmarkEventRouter(BookmarkModel* model);
- virtual ~ExtensionBookmarkEventRouter();
+ explicit BookmarkExtensionEventRouter(BookmarkModel* model);
+ virtual ~BookmarkExtensionEventRouter();
void Init();
@@ -65,7 +65,7 @@ class ExtensionBookmarkEventRouter : public BookmarkModelObserver {
BookmarkModel* model_;
- DISALLOW_COPY_AND_ASSIGN(ExtensionBookmarkEventRouter);
+ DISALLOW_COPY_AND_ASSIGN(BookmarkExtensionEventRouter);
};
class BookmarksFunction : public AsyncExtensionFunction,
@@ -241,4 +241,4 @@ class ExportBookmarksFunction : public BookmarksIOFunction {
DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export");
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
+#endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698