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

Side by Side Diff: chrome/browser/extensions/api/proxy/proxy_api.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 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 // Defines the Chrome Extensions Proxy Settings API relevant classes to realize 5 // Defines the Chrome Extensions Proxy Settings API relevant classes to realize
6 // the API as specified in the extension API JSON. 6 // the API as specified in the extension API JSON.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void OnProxyError(EventRouterForwarder* event_router, 50 void OnProxyError(EventRouterForwarder* event_router,
51 void* profile, 51 void* profile,
52 int error_code); 52 int error_code);
53 53
54 void OnPACScriptError(EventRouterForwarder* event_router, 54 void OnPACScriptError(EventRouterForwarder* event_router,
55 void* profile, 55 void* profile,
56 int line_number, 56 int line_number,
57 const base::string16& error); 57 const base::string16& error);
58 58
59 private: 59 private:
60 friend struct DefaultSingletonTraits<ProxyEventRouter>; 60 friend struct base::DefaultSingletonTraits<ProxyEventRouter>;
61 61
62 ProxyEventRouter(); 62 ProxyEventRouter();
63 ~ProxyEventRouter(); 63 ~ProxyEventRouter();
64 64
65 DISALLOW_COPY_AND_ASSIGN(ProxyEventRouter); 65 DISALLOW_COPY_AND_ASSIGN(ProxyEventRouter);
66 }; 66 };
67 67
68 } // namespace extensions 68 } // namespace extensions
69 69
70 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_ 70 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api.cc ('k') | chrome/browser/extensions/api/proxy/proxy_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698