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

Side by Side Diff: chrome/browser/extensions/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: 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_
7
8 #include "chrome/browser/extensions/chrome_extension_function.h"
stevenjb 2015/01/27 21:01:50 Does this need to be in src/chrome, or can we put
9 #include "chrome/common/extensions/api/networking_config.h"
10
11 namespace extensions {
12
13 class NetworkingConfigSetNetworkFilterFunction
14 : public ChromeUIThreadExtensionFunction {
15 public:
16 NetworkingConfigSetNetworkFilterFunction();
stevenjb 2015/01/27 21:01:50 WS
cschuet (SLOW) 2015/01/29 13:25:20 Done.
17 ResponseAction Run() override;
18
19 DECLARE_EXTENSION_FUNCTION("networking.config.setNetworkFilter",
20 NETWORKING_CONFIG_SETNETWORKFILTER);
21
22 protected:
23 scoped_ptr<extensions::api::networking_config::SetNetworkFilter::Params>
24 parameters_;
stevenjb 2015/01/27 21:01:49 members after methods
cschuet (SLOW) 2015/01/29 13:25:20 Done.
25 ~NetworkingConfigSetNetworkFilterFunction() override;
stevenjb 2015/01/27 21:01:50 DISALLOW_COPY_AND_ASSIGN
cschuet (SLOW) 2015/01/29 13:25:20 Done.
26 };
27
28 class NetworkingConfigFinishAuthenticationFunction
29 : public ChromeUIThreadExtensionFunction {
30 public:
31 NetworkingConfigFinishAuthenticationFunction();
stevenjb 2015/01/27 21:01:50 WS
cschuet (SLOW) 2015/01/29 13:25:20 Done.
32 ResponseAction Run() override;
33
34 DECLARE_EXTENSION_FUNCTION("networking.config.finishAuthenticationFunction",
35 NETWORKING_CONFIG_FINISHAUTHENTICATION);
36
37 protected:
38 scoped_ptr<extensions::api::networking_config::FinishAuthentication::Params>
39 parameters_;
stevenjb 2015/01/27 21:01:50 After methods
cschuet (SLOW) 2015/01/29 13:25:20 Done.
40 ~NetworkingConfigFinishAuthenticationFunction() override;
stevenjb 2015/01/27 21:01:50 DISALLOW_COPY_AND_ASSIGN
cschuet (SLOW) 2015/01/29 13:25:20 Done.
41 };
42
43 } // namespace extensions
44
45 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_CONFIG_NETWORKING_CONFIG_API _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698