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

Side by Side Diff: chrome/browser/extensions/api/networking_private/networking_private_api.h

Issue 197413002: Move extensions-related files to using //components/keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // These classes implement the chrome.networkingPrivate JavaScript extension 5 // These classes implement the chrome.networkingPrivate JavaScript extension
6 // API. 6 // API.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_ H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_ H_
9 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_ H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_ H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/extensions/chrome_extension_function.h" 15 #include "chrome/browser/extensions/chrome_extension_function.h"
16 #include "chromeos/dbus/dbus_method_call_status.h" 16 #include "chromeos/dbus/dbus_method_call_status.h"
17 #include "components/browser_context_keyed_service/browser_context_keyed_service .h" 17 #include "components/keyed_service/core/keyed_service.h"
18 18
19 // Implements the chrome.networkingPrivate.getProperties method. 19 // Implements the chrome.networkingPrivate.getProperties method.
20 class NetworkingPrivateGetPropertiesFunction 20 class NetworkingPrivateGetPropertiesFunction
21 : public ChromeAsyncExtensionFunction { 21 : public ChromeAsyncExtensionFunction {
22 public: 22 public:
23 NetworkingPrivateGetPropertiesFunction() {} 23 NetworkingPrivateGetPropertiesFunction() {}
24 DECLARE_EXTENSION_FUNCTION("networkingPrivate.getProperties", 24 DECLARE_EXTENSION_FUNCTION("networkingPrivate.getProperties",
25 NETWORKINGPRIVATE_GETPROPERTIES); 25 NETWORKINGPRIVATE_GETPROPERTIES);
26 26
27 protected: 27 protected:
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 373
374 void Success(const std::string& result); 374 void Success(const std::string& result);
375 void Failure(const std::string& error_name, 375 void Failure(const std::string& error_name,
376 scoped_ptr<base::DictionaryValue> error_data); 376 scoped_ptr<base::DictionaryValue> error_data);
377 377
378 private: 378 private:
379 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetWifiTDLSStatusFunction); 379 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetWifiTDLSStatusFunction);
380 }; 380 };
381 381
382 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_A PI_H_ 382 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_A PI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698