| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |