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

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

Issue 10843065: Add condition attribute for MIME media types from Content-Type header. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: dammit docs 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
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 kDirectionKey[] = "direction"; 16 const char kDirectionKey[] = "direction";
16 const char kDomainKey[] = "domain"; 17 const char kDomainKey[] = "domain";
17 const char kExpiresKey[] = "expires"; 18 const char kExpiresKey[] = "expires";
18 const char kFilterKey[] ="filter"; 19 const char kFilterKey[] ="filter";
19 const char kFromKey[] = "from"; 20 const char kFromKey[] = "from";
20 const char kHttpOnlyKey[] = "httpOnly"; 21 const char kHttpOnlyKey[] = "httpOnly";
21 const char kInstanceTypeKey[] = "instanceType"; 22 const char kInstanceTypeKey[] = "instanceType";
22 const char kLowerPriorityThanKey[] = "lowerPriorityThan"; 23 const char kLowerPriorityThanKey[] = "lowerPriorityThan";
23 const char kMaxAgeKey[] = "maxAge"; 24 const char kMaxAgeKey[] = "maxAge";
24 const char kModificationKey[] = "modification"; 25 const char kModificationKey[] = "modification";
(...skipping 28 matching lines...) Expand all
53 "declarativeWebRequest.RemoveRequestHeader"; 54 "declarativeWebRequest.RemoveRequestHeader";
54 const char kRemoveResponseCookieType[] = 55 const char kRemoveResponseCookieType[] =
55 "declarativeWebRequest.RemoveResponseCookie"; 56 "declarativeWebRequest.RemoveResponseCookie";
56 const char kRemoveResponseHeaderType[] = 57 const char kRemoveResponseHeaderType[] =
57 "declarativeWebRequest.RemoveResponseHeader"; 58 "declarativeWebRequest.RemoveResponseHeader";
58 const char kRequestMatcherType[] = "declarativeWebRequest.RequestMatcher"; 59 const char kRequestMatcherType[] = "declarativeWebRequest.RequestMatcher";
59 const char kSetRequestHeaderType[] = "declarativeWebRequest.SetRequestHeader"; 60 const char kSetRequestHeaderType[] = "declarativeWebRequest.SetRequestHeader";
60 61
61 } // namespace declarative_webrequest_constants 62 } // namespace declarative_webrequest_constants
62 } // namespace extensions 63 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698