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

Side by Side Diff: extensions/browser/api/web_request/web_request_api_constants.cc

Issue 565273002: Move webrequest_api_constants.h/.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 #include "chrome/browser/extensions/api/web_request/web_request_api_constants.h" 5 #include "extensions/browser/api/web_request/web_request_api_constants.h"
6 6
7 namespace extension_web_request_api_constants { 7 namespace extension_web_request_api_constants {
8 8
9 const char kChallengerKey[] = "challenger"; 9 const char kChallengerKey[] = "challenger";
10 const char kErrorKey[] = "error"; 10 const char kErrorKey[] = "error";
11 const char kFrameIdKey[] = "frameId"; 11 const char kFrameIdKey[] = "frameId";
12 const char kParentFrameIdKey[] = "parentFrameId"; 12 const char kParentFrameIdKey[] = "parentFrameId";
13 const char kFromCache[] = "fromCache"; 13 const char kFromCache[] = "fromCache";
14 const char kHostKey[] = "host"; 14 const char kHostKey[] = "host";
15 const char kIpKey[] = "ip"; 15 const char kIpKey[] = "ip";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const char kHostPermissionsRequired[] = 72 const char kHostPermissionsRequired[] =
73 "You need to request host permissions in the manifest file in order to " 73 "You need to request host permissions in the manifest file in order to "
74 "be notified about requests from the webRequest API."; 74 "be notified about requests from the webRequest API.";
75 const char kInvalidHeaderKeyCombination[] = 75 const char kInvalidHeaderKeyCombination[] =
76 "requestHeaders and responseHeaders cannot both be present."; 76 "requestHeaders and responseHeaders cannot both be present.";
77 const char kInvalidHeader[] = "Invalid header specification '*'."; 77 const char kInvalidHeader[] = "Invalid header specification '*'.";
78 const char kInvalidHeaderName[] = "Invalid header name."; 78 const char kInvalidHeaderName[] = "Invalid header name.";
79 const char kInvalidHeaderValue[] = "Header '*' has an invalid value."; 79 const char kInvalidHeaderValue[] = "Header '*' has an invalid value.";
80 80
81 } // namespace extension_web_request_api_constants 81 } // namespace extension_web_request_api_constants
OLDNEW
« no previous file with comments | « extensions/browser/api/web_request/web_request_api_constants.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698