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

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

Issue 6871019: Enable (optional) blocking of webrequests in case a PAC script cannot be fetched or is invalid. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 7 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) 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 for the Chrome Extensions Proxy Settings API. 5 // Constants for the Chrome Extensions Proxy Settings API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
11 namespace extension_proxy_api_constants { 11 namespace extension_proxy_api_constants {
12 12
13 // String literals in dictionaries used to communicate with extension. 13 // String literals in dictionaries used to communicate with extension.
14 extern const char kProxyConfigMode[]; 14 extern const char kProxyConfigMode[];
15 extern const char kProxyConfigPacScript[]; 15 extern const char kProxyConfigPacScript[];
16 extern const char kProxyConfigPacScriptMandatory[];
16 extern const char kProxyConfigPacScriptUrl[]; 17 extern const char kProxyConfigPacScriptUrl[];
17 extern const char kProxyConfigPacScriptData[]; 18 extern const char kProxyConfigPacScriptData[];
18 extern const char kProxyConfigRules[]; 19 extern const char kProxyConfigRules[];
19 extern const char kProxyConfigRuleHost[]; 20 extern const char kProxyConfigRuleHost[];
20 extern const char kProxyConfigRulePort[]; 21 extern const char kProxyConfigRulePort[];
21 extern const char kProxyConfigRuleScheme[]; 22 extern const char kProxyConfigRuleScheme[];
22 extern const char kProxyConfigBypassList[]; 23 extern const char kProxyConfigBypassList[];
23 extern const char kProxyConfigValue[]; 24 extern const char kProxyConfigValue[];
24 25
25 extern const char kProxyEventFatal[]; 26 extern const char kProxyEventFatal[];
(...skipping 20 matching lines...) Expand all
46 extern const char* field_name[]; 47 extern const char* field_name[];
47 48
48 // The names of the schemes to be used to build the preference value string 49 // The names of the schemes to be used to build the preference value string
49 // for manual proxy settings. These must be kept in sync with the SCHEME_* 50 // for manual proxy settings. These must be kept in sync with the SCHEME_*
50 // constants. 51 // constants.
51 extern const char* scheme_name[]; 52 extern const char* scheme_name[];
52 53
53 } // namespace extension_proxy_api_constants 54 } // namespace extension_proxy_api_constants
54 55
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_ 56 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_proxy_api.cc ('k') | chrome/browser/extensions/extension_proxy_api_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698