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

Side by Side Diff: chrome/browser/prefs/proxy_prefs.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 #ifndef CHROME_BROWSER_PREFS_PROXY_PREFS_H_ 5 #ifndef CHROME_BROWSER_PREFS_PROXY_PREFS_H_
6 #define CHROME_BROWSER_PREFS_PROXY_PREFS_H_ 6 #define CHROME_BROWSER_PREFS_PROXY_PREFS_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 namespace ProxyPrefs { 10 namespace ProxyPrefs {
12 11
13 // Possible types of specifying proxy settings. Do not change the order of 12 // Possible types of specifying proxy settings. Do not change the order of
14 // the constants, because numeric values are exposed to users. 13 // the constants, because numeric values are exposed to users.
15 // If you add an enum constant, you should also add a string to 14 // If you add an enum constant, you should also add a string to
16 // kProxyModeNames in the .cc file. 15 // kProxyModeNames in the .cc file.
17 enum ProxyMode { 16 enum ProxyMode {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 bool StringToProxyMode(const std::string& in_value, 63 bool StringToProxyMode(const std::string& in_value,
65 ProxyMode* out_value); 64 ProxyMode* out_value);
66 // Ownership of the return value is NOT passed to the caller. 65 // Ownership of the return value is NOT passed to the caller.
67 const char* ProxyModeToString(ProxyMode mode); 66 const char* ProxyModeToString(ProxyMode mode);
68 67
69 bool DoesPrefPrecede(ConfigState config_state); 68 bool DoesPrefPrecede(ConfigState config_state);
70 69
71 } // namespace ProxyPrefs 70 } // namespace ProxyPrefs
72 71
73 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_ 72 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/proxy_config_dictionary.h ('k') | chrome/browser/prefs/scoped_user_pref_update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698