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

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

Issue 8372021: Move history extension API implementation to history dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/history/history_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_extension_api.h
diff --git a/chrome/browser/extensions/extension_history_api.h b/chrome/browser/history/history_extension_api.h
similarity index 91%
rename from chrome/browser/extensions/extension_history_api.h
rename to chrome/browser/history/history_extension_api.h
index f455a1c95a67ed6e4435b1e899e17c118c6b4bf9..e66ea76882ed063d6a6119c07cd09246fffe799f 100644
--- a/chrome/browser/extensions/extension_history_api.h
+++ b/chrome/browser/history/history_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_HISTORY_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_H_
+#ifndef CHROME_BROWSER_HISTORY_HISTORY_EXTENSION_API_H_
+#define CHROME_BROWSER_HISTORY_HISTORY_EXTENSION_API_H_
#pragma once
#include <string>
@@ -16,10 +16,10 @@
// Observes History service and routes the notifications as events to the
// extension system.
-class ExtensionHistoryEventRouter : public content::NotificationObserver {
+class HistoryExtensionEventRouter : public content::NotificationObserver {
public:
- explicit ExtensionHistoryEventRouter();
- virtual ~ExtensionHistoryEventRouter();
+ explicit HistoryExtensionEventRouter();
+ virtual ~HistoryExtensionEventRouter();
void ObserveProfile(Profile* profile);
@@ -42,7 +42,7 @@ class ExtensionHistoryEventRouter : public content::NotificationObserver {
// Used for tracking registrations to history service notifications.
content::NotificationRegistrar registrar_;
- DISALLOW_COPY_AND_ASSIGN(ExtensionHistoryEventRouter);
+ DISALLOW_COPY_AND_ASSIGN(HistoryExtensionEventRouter);
};
@@ -137,4 +137,4 @@ class DeleteRangeHistoryFunction : public HistoryFunctionWithCallback {
void DeleteComplete();
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_H_
+#endif // CHROME_BROWSER_HISTORY_HISTORY_EXTENSION_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/history/history_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698