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

Side by Side Diff: extensions/browser/api/networking_config/networking_config_api.h

Issue 880073002: Networking.config: Implementation of the NetworkingConfigService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes Created 5 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API_H_
stevenjb 2015/01/29 17:51:35 Update guards
cschuet (SLOW) 2015/01/30 12:33:34 Done.
7
8 #include "extensions/common/api/networking_config.h"
9 #include "extensions/browser/extension_function.h"
10
11 namespace extensions {
12
13 class NetworkingConfigSetNetworkFilterFunction
14 : public UIThreadExtensionFunction {
15 public:
16 NetworkingConfigSetNetworkFilterFunction();
17
18 ResponseAction Run() override;
19
20 DECLARE_EXTENSION_FUNCTION("networking.config.setNetworkFilter",
21 NETWORKING_CONFIG_SETNETWORKFILTER);
22
23 protected:
24 ~NetworkingConfigSetNetworkFilterFunction() override;
25
26 scoped_ptr<core_api::networking_config::SetNetworkFilter::Params>
27 parameters_;
28
29 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigSetNetworkFilterFunction);
30 };
31
32 class NetworkingConfigFinishAuthenticationFunction
33 : public UIThreadExtensionFunction {
34 public:
35 NetworkingConfigFinishAuthenticationFunction();
36
37 ResponseAction Run() override;
38
39 DECLARE_EXTENSION_FUNCTION("networking.config.finishAuthenticationFunction",
40 NETWORKING_CONFIG_FINISHAUTHENTICATION);
41
42 protected:
43 ~NetworkingConfigFinishAuthenticationFunction() override;
44
45 scoped_ptr<core_api::networking_config::FinishAuthentication::Params>
46 parameters_;
47
48 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigFinishAuthenticationFunction);
49 };
50
51 } // namespace extensions
52
53 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698