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

Unified Diff: extensions/browser/api/declarative/rules_registry.h

Issue 550403003: Move declarative api files to extensions/browser/api/declarative. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser tests. Created 6 years, 3 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
Index: extensions/browser/api/declarative/rules_registry.h
diff --git a/chrome/browser/extensions/api/declarative/rules_registry.h b/extensions/browser/api/declarative/rules_registry.h
similarity index 97%
rename from chrome/browser/extensions/api/declarative/rules_registry.h
rename to extensions/browser/api/declarative/rules_registry.h
index 14c7e211684f0ddd729462396ee9ad37a2f9b718..fa0e745a444d34f780b13dc0232ebe6fb8aecd94 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry.h
+++ b/extensions/browser/api/declarative/rules_registry.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_API_DECLARATIVE_RULES_REGISTRY_H__
-#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_H__
+#ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_RULES_REGISTRY_H__
+#define EXTENSIONS_BROWSER_API_DECLARATIVE_RULES_REGISTRY_H__
#include <map>
#include <set>
@@ -15,10 +15,10 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/common/extensions/api/events.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "extensions/common/api/events.h"
#include "extensions/common/one_shot_event.h"
namespace content {
@@ -39,7 +39,7 @@ class RulesCacheDelegate;
// in the RulesCacheDelegate object.
class RulesRegistry : public base::RefCountedThreadSafe<RulesRegistry> {
public:
- typedef extensions::api::events::Rule Rule;
+ typedef extensions::core_api::events::Rule Rule;
struct WebViewKey {
int embedder_process_id;
int webview_instance_id;
@@ -293,4 +293,4 @@ class RulesRegistry : public base::RefCountedThreadSafe<RulesRegistry> {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_H__
+#endif // EXTENSIONS_BROWSER_API_DECLARATIVE_RULES_REGISTRY_H__
« no previous file with comments | « extensions/browser/api/declarative/rules_cache_delegate.cc ('k') | extensions/browser/api/declarative/rules_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698