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

Side by Side Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h

Issue 12092096: Move c/c/extensions/matcher/ to top level extension dir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT Created 7 years, 10 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_CONDITIO N_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONDITIO N_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONDITIO N_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONDITIO N_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/memory/linked_ptr.h" 14 #include "base/memory/linked_ptr.h"
15 #include "chrome/browser/extensions/api/declarative/declarative_rule.h" 15 #include "chrome/browser/extensions/api/declarative/declarative_rule.h"
16 #include "chrome/browser/extensions/api/declarative_webrequest/webrequest_condit ion_attribute.h" 16 #include "chrome/browser/extensions/api/declarative_webrequest/webrequest_condit ion_attribute.h"
17 #include "chrome/common/extensions/matcher/url_matcher.h" 17 #include "extensions/common/matcher/url_matcher.h"
18 #include "net/http/http_response_headers.h" 18 #include "net/http/http_response_headers.h"
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 // Container for information about a URLRequest to determine which 22 // Container for information about a URLRequest to determine which
23 // rules apply to the request. 23 // rules apply to the request.
24 struct WebRequestData { 24 struct WebRequestData {
25 WebRequestData(net::URLRequest* request, RequestStage stage); 25 WebRequestData(net::URLRequest* request, RequestStage stage);
26 WebRequestData( 26 WebRequestData(
27 net::URLRequest* request, 27 net::URLRequest* request,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 int applicable_request_stages_; 112 int applicable_request_stages_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(WebRequestCondition); 114 DISALLOW_COPY_AND_ASSIGN(WebRequestCondition);
115 }; 115 };
116 116
117 typedef DeclarativeConditionSet<WebRequestCondition> WebRequestConditionSet; 117 typedef DeclarativeConditionSet<WebRequestCondition> WebRequestConditionSet;
118 118
119 } // namespace extensions 119 } // namespace extensions
120 120
121 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONDI TION_H_ 121 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONDI TION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698