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

Side by Side Diff: chromeos/dbus/flimflam_manager_client.h

Issue 10177001: Reimplement CrosSetOfflineMode without Libcros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 8 years, 8 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 (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 #ifndef CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Calls GetProperties method. 48 // Calls GetProperties method.
49 // |callback| is called after the method call succeeds. 49 // |callback| is called after the method call succeeds.
50 virtual void GetProperties(const DictionaryValueCallback& callback) = 0; 50 virtual void GetProperties(const DictionaryValueCallback& callback) = 0;
51 51
52 // Calls SetProperty method. 52 // Calls SetProperty method.
53 // |callback| is called after the method call succeeds. 53 // |callback| is called after the method call succeeds.
54 virtual void SetProperty(const std::string& name, 54 virtual void SetProperty(const std::string& name,
55 const base::Value& value, 55 const base::Value& value,
56 const VoidCallback& callback) = 0; 56 const VoidCallback& callback) = 0;
57 57
58 // DEPRECATED DO NOT USE: Calls SetProperty method and blocks until the method
59 // call finishes.
60 virtual bool CallSetPropertyAndBlock(const std::string& name,
61 const base::Value& value) = 0;
stevenjb 2012/04/23 21:42:06 We shouldn't need this.
hashimoto 2012/04/24 04:37:54 Done.
62
58 // Calls RequestScan method. 63 // Calls RequestScan method.
59 // |callback| is called after the method call succeeds. 64 // |callback| is called after the method call succeeds.
60 virtual void RequestScan(const std::string& type, 65 virtual void RequestScan(const std::string& type,
61 const VoidCallback& callback) = 0; 66 const VoidCallback& callback) = 0;
62 67
63 // Calls EnableTechnology method. 68 // Calls EnableTechnology method.
64 // |callback| is called after the method call succeeds. 69 // |callback| is called after the method call succeeds.
65 virtual void EnableTechnology(const std::string& type, 70 virtual void EnableTechnology(const std::string& type,
66 const VoidCallback& callback) = 0; 71 const VoidCallback& callback) = 0;
67 72
(...skipping 16 matching lines...) Expand all
84 // Create() should be used instead. 89 // Create() should be used instead.
85 FlimflamManagerClient(); 90 FlimflamManagerClient();
86 91
87 private: 92 private:
88 DISALLOW_COPY_AND_ASSIGN(FlimflamManagerClient); 93 DISALLOW_COPY_AND_ASSIGN(FlimflamManagerClient);
89 }; 94 };
90 95
91 } // namespace chromeos 96 } // namespace chromeos
92 97
93 #endif // CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_ 98 #endif // CHROMEOS_DBUS_FLIMFLAM_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698