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

Side by Side Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.cc

Issue 10825212: Support also excluding content types in declarative webrequest conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ' Created 8 years, 4 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 | Annotate | Revision Log
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 #include "chrome/browser/extensions/api/declarative_webrequest/webrequest_consta nts.h" 5 #include "chrome/browser/extensions/api/declarative_webrequest/webrequest_consta nts.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace declarative_webrequest_constants { 8 namespace declarative_webrequest_constants {
9 9
10 // Signals to which WebRequestRulesRegistries are registered. 10 // Signals to which WebRequestRulesRegistries are registered.
11 const char kOnRequest[] = "declarativeWebRequest.onRequest"; 11 const char kOnRequest[] = "declarativeWebRequest.onRequest";
12 12
13 // Keys of dictionaries. 13 // Keys of dictionaries.
14 const char kCookieKey[] = "cookie"; 14 const char kCookieKey[] = "cookie";
15 const char kContentTypeKey[] = "contentType"; 15 const char kContentTypeKey[] = "contentType";
16 const char kDirectionKey[] = "direction"; 16 const char kDirectionKey[] = "direction";
17 const char kDomainKey[] = "domain"; 17 const char kDomainKey[] = "domain";
18 const char kExcludeContentTypeKey[] = "excludeContentType";
18 const char kExpiresKey[] = "expires"; 19 const char kExpiresKey[] = "expires";
19 const char kFilterKey[] ="filter"; 20 const char kFilterKey[] ="filter";
20 const char kFromKey[] = "from"; 21 const char kFromKey[] = "from";
21 const char kHttpOnlyKey[] = "httpOnly"; 22 const char kHttpOnlyKey[] = "httpOnly";
22 const char kInstanceTypeKey[] = "instanceType"; 23 const char kInstanceTypeKey[] = "instanceType";
23 const char kLowerPriorityThanKey[] = "lowerPriorityThan"; 24 const char kLowerPriorityThanKey[] = "lowerPriorityThan";
24 const char kMaxAgeKey[] = "maxAge"; 25 const char kMaxAgeKey[] = "maxAge";
25 const char kModificationKey[] = "modification"; 26 const char kModificationKey[] = "modification";
26 const char kNameKey[] = "name"; 27 const char kNameKey[] = "name";
27 const char kPathKey[] = "path"; 28 const char kPathKey[] = "path";
(...skipping 26 matching lines...) Expand all
54 "declarativeWebRequest.RemoveRequestHeader"; 55 "declarativeWebRequest.RemoveRequestHeader";
55 const char kRemoveResponseCookieType[] = 56 const char kRemoveResponseCookieType[] =
56 "declarativeWebRequest.RemoveResponseCookie"; 57 "declarativeWebRequest.RemoveResponseCookie";
57 const char kRemoveResponseHeaderType[] = 58 const char kRemoveResponseHeaderType[] =
58 "declarativeWebRequest.RemoveResponseHeader"; 59 "declarativeWebRequest.RemoveResponseHeader";
59 const char kRequestMatcherType[] = "declarativeWebRequest.RequestMatcher"; 60 const char kRequestMatcherType[] = "declarativeWebRequest.RequestMatcher";
60 const char kSetRequestHeaderType[] = "declarativeWebRequest.SetRequestHeader"; 61 const char kSetRequestHeaderType[] = "declarativeWebRequest.SetRequestHeader";
61 62
62 } // namespace declarative_webrequest_constants 63 } // namespace declarative_webrequest_constants
63 } // namespace extensions 64 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698