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

Side by Side Diff: extensions/browser/api/declarative_webrequest/webrequest_rules_registry.h

Issue 566823003: Move declarative_webrequest: action, rules_registry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing another weird re-base error. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES_RE GISTRY_H_ 5 #ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES_REGISTRY_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES_RE GISTRY_H_ 6 #define EXTENSIONS_BROWSER_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES_REGISTRY_ H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/linked_ptr.h" 15 #include "base/memory/linked_ptr.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/time/time.h" 18 #include "base/time/time.h"
19 #include "chrome/browser/extensions/api/declarative_webrequest/webrequest_action .h"
20 #include "components/url_matcher/url_matcher.h" 19 #include "components/url_matcher/url_matcher.h"
21 #include "extensions/browser/api/declarative/declarative_rule.h" 20 #include "extensions/browser/api/declarative/declarative_rule.h"
22 #include "extensions/browser/api/declarative/rules_registry.h" 21 #include "extensions/browser/api/declarative/rules_registry.h"
23 #include "extensions/browser/api/declarative_webrequest/request_stage.h" 22 #include "extensions/browser/api/declarative_webrequest/request_stage.h"
23 #include "extensions/browser/api/declarative_webrequest/webrequest_action.h"
24 #include "extensions/browser/api/declarative_webrequest/webrequest_condition.h" 24 #include "extensions/browser/api/declarative_webrequest/webrequest_condition.h"
25 #include "extensions/browser/info_map.h" 25 #include "extensions/browser/info_map.h"
26 26
27 class WebRequestPermissions; 27 class WebRequestPermissions;
28 28
29 namespace content { 29 namespace content {
30 class BrowserContext; 30 class BrowserContext;
31 } 31 }
32 32
33 namespace extension_web_request_api_helpers { 33 namespace extension_web_request_api_helpers {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 url_matcher::URLMatcher url_matcher_; 187 url_matcher::URLMatcher url_matcher_;
188 188
189 content::BrowserContext* browser_context_; 189 content::BrowserContext* browser_context_;
190 scoped_refptr<InfoMap> extension_info_map_; 190 scoped_refptr<InfoMap> extension_info_map_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(WebRequestRulesRegistry); 192 DISALLOW_COPY_AND_ASSIGN(WebRequestRulesRegistry);
193 }; 193 };
194 194
195 } // namespace extensions 195 } // namespace extensions
196 196
197 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES _REGISTRY_H_ 197 #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_RULES_REGIST RY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698