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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h

Issue 546943002: Move webrequest_constants.* to extensions/browser/api/declarative_webrequest/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try using *correct* name in .gn file. 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: chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h b/chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h
deleted file mode 100644
index 75312ce8062c25e5a2eda8465d30d88f20e0b576..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Constants used for the WebRequest API.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANTS_H_
-#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANTS_H_
-
-namespace extensions {
-namespace declarative_webrequest_constants {
-
-// Signals to which WebRequestRulesRegistries are registered or listeners can
-// be registered.
-extern const char kOnRequest[];
-extern const char kOnMessage[];
-
-// Keys of dictionaries.
-extern const char kAgeLowerBoundKey[];
-extern const char kAgeUpperBoundKey[];
-extern const char kCookieKey[];
-extern const char kContentTypeKey[];
-extern const char kDomainKey[];
-extern const char kExcludeContentTypeKey[];
-extern const char kExcludeRequestHeadersKey[];
-extern const char kExcludeResponseHeadersKey[];
-extern const char kExpiresKey[];
-extern const char kFilterKey[];
-extern const char kFirstPartyForCookiesUrlKey[];
-extern const char kFromKey[];
-extern const char kHttpOnlyKey[];
-extern const char kHasTagKey[];
-extern const char kInstanceTypeKey[];
-extern const char kLowerPriorityThanKey[];
-extern const char kMaxAgeKey[];
-extern const char kMessageKey[];
-extern const char kModificationKey[];
-extern const char kNameContainsKey[];
-extern const char kNameEqualsKey[];
-extern const char kNameKey[];
-extern const char kNamePrefixKey[];
-extern const char kNameSuffixKey[];
-extern const char kPathKey[];
-extern const char kRedirectUrlKey[];
-extern const char kRequestHeadersKey[];
-extern const char kResourceTypeKey[];
-extern const char kResponseHeadersKey[];
-extern const char kSecureKey[];
-extern const char kSessionCookieKey[];
-extern const char kStagesKey[];
-extern const char kThirdPartyKey[];
-extern const char kToKey[];
-extern const char kUrlKey[];
-extern const char kValueContainsKey[];
-extern const char kValueEqualsKey[];
-extern const char kValueKey[];
-extern const char kValuePrefixKey[];
-extern const char kValueSuffixKey[];
-
-// Enum string values
-extern const char kOnBeforeRequestEnum[];
-extern const char kOnBeforeSendHeadersEnum[];
-extern const char kOnHeadersReceivedEnum[];
-extern const char kOnAuthRequiredEnum[];
-
-// Values of dictionaries, in particular instance types
-extern const char kAddRequestCookieType[];
-extern const char kAddResponseCookieType[];
-extern const char kAddResponseHeaderType[];
-extern const char kCancelRequestType[];
-extern const char kEditRequestCookieType[];
-extern const char kEditResponseCookieType[];
-extern const char kIgnoreRulesType[];
-extern const char kRedirectByRegExType[];
-extern const char kRedirectRequestType[];
-extern const char kRedirectToEmptyDocumentType[];
-extern const char kRedirectToTransparentImageType[];
-extern const char kRemoveRequestCookieType[];
-extern const char kRemoveRequestHeaderType[];
-extern const char kRemoveResponseCookieType[];
-extern const char kRemoveResponseHeaderType[];
-extern const char kRequestMatcherType[];
-extern const char kSendMessageToExtensionType[];
-extern const char kSetRequestHeaderType[];
-
-} // namespace declarative_webrequest_constants
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698