OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ |
6 #define EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ | 6 #define EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "extensions/browser/extension_function.h" |
8 #include "extensions/common/api/networking_config.h" | 10 #include "extensions/common/api/networking_config.h" |
9 #include "extensions/browser/extension_function.h" | |
10 | 11 |
11 namespace extensions { | 12 namespace extensions { |
12 | 13 |
13 class NetworkingConfigSetNetworkFilterFunction | 14 class NetworkingConfigSetNetworkFilterFunction |
14 : public UIThreadExtensionFunction { | 15 : public UIThreadExtensionFunction { |
15 public: | 16 public: |
16 NetworkingConfigSetNetworkFilterFunction(); | 17 NetworkingConfigSetNetworkFilterFunction(); |
17 | 18 |
18 ResponseAction Run() override; | 19 ResponseAction Run() override; |
19 | 20 |
(...skipping 24 matching lines...) Expand all Loading... |
44 | 45 |
45 scoped_ptr<api::networking_config::FinishAuthentication::Params> parameters_; | 46 scoped_ptr<api::networking_config::FinishAuthentication::Params> parameters_; |
46 | 47 |
47 private: | 48 private: |
48 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigFinishAuthenticationFunction); | 49 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigFinishAuthenticationFunction); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace extensions | 52 } // namespace extensions |
52 | 53 |
53 #endif // EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ | 54 #endif // EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_ |
OLD | NEW |