| 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 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "chrome/browser/extensions/api/preference/preference_api.h" | 15 #include "chrome/browser/extensions/api/preference/preference_api.h" |
| 16 #include "chrome/browser/prefs/proxy_prefs.h" | 16 #include "components/proxy_config/proxy_prefs.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class Value; | 19 class Value; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace extensions { | 22 namespace extensions { |
| 23 class EventRouterForwarder; | 23 class EventRouterForwarder; |
| 24 | 24 |
| 25 // Class to convert between the representation of proxy settings used | 25 // Class to convert between the representation of proxy settings used |
| 26 // in the Proxy Settings API and the representation used in the PrefStores. | 26 // in the Proxy Settings API and the representation used in the PrefStores. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |