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

Side by Side Diff: chrome/browser/extensions/extension_webrequest_api_constants.h

Issue 8931006: WebRequest API should warn when a developer attempts to filter URLs without proper permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Constants used for the WebRequest API. 5 // Constants used for the WebRequest API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 extern const char kOnErrorOccurred[]; 50 extern const char kOnErrorOccurred[];
51 extern const char kOnHeadersReceived[]; 51 extern const char kOnHeadersReceived[];
52 extern const char kOnResponseStarted[]; 52 extern const char kOnResponseStarted[];
53 extern const char kOnSendHeaders[]; 53 extern const char kOnSendHeaders[];
54 54
55 // Error messages. 55 // Error messages.
56 extern const char kInvalidRedirectUrl[]; 56 extern const char kInvalidRedirectUrl[];
57 extern const char kInvalidBlockingResponse[]; 57 extern const char kInvalidBlockingResponse[];
58 extern const char kInvalidRequestFilterUrl[]; 58 extern const char kInvalidRequestFilterUrl[];
59 extern const char kBlockingPermissionRequired[]; 59 extern const char kBlockingPermissionRequired[];
60 extern const char kHostPermissionsRequired[];
60 61
61 } // namespace extension_webrequest_api_constants 62 } // namespace extension_webrequest_api_constants
62 63
63 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_ 64 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webrequest_api.cc ('k') | chrome/browser/extensions/extension_webrequest_api_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698