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

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

Issue 10134028: Reimplement ActivateCellularModem without Libcros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add crosbug.com URLs to TODO comments 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
« no previous file with comments | « chromeos/dbus/flimflam_device_client.h ('k') | chromeos/dbus/flimflam_network_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IPCONFIG_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FLIMFLAM_IPCONFIG_CLIENT_H_
6 #define CHROMEOS_DBUS_FLIMFLAM_IPCONFIG_CLIENT_H_ 6 #define CHROMEOS_DBUS_FLIMFLAM_IPCONFIG_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Calls GetProperties method. 56 // Calls GetProperties method.
57 // |callback| is called after the method call succeeds. 57 // |callback| is called after the method call succeeds.
58 virtual void GetProperties(const dbus::ObjectPath& ipconfig_path, 58 virtual void GetProperties(const dbus::ObjectPath& ipconfig_path,
59 const DictionaryValueCallback& callback) = 0; 59 const DictionaryValueCallback& callback) = 0;
60 60
61 // DEPRECATED DO NOT USE: Calls GetProperties method and blocks until the 61 // DEPRECATED DO NOT USE: Calls GetProperties method and blocks until the
62 // method call finishes. The caller is responsible to delete the result. 62 // method call finishes. The caller is responsible to delete the result.
63 // Thie method returns NULL when method call fails. 63 // Thie method returns NULL when method call fails.
64 // 64 //
65 // TODO(hashimoto): Refactor CrosListIPConfigs to remove this method. 65 // TODO(hashimoto): Refactor CrosListIPConfigs to remove this method.
66 // crosbug.com/29902
66 virtual base::DictionaryValue* CallGetPropertiesAndBlock( 67 virtual base::DictionaryValue* CallGetPropertiesAndBlock(
67 const dbus::ObjectPath& ipconfig_path) = 0; 68 const dbus::ObjectPath& ipconfig_path) = 0;
68 69
69 // Calls SetProperty method. 70 // Calls SetProperty method.
70 // |callback| is called after the method call succeeds. 71 // |callback| is called after the method call succeeds.
71 virtual void SetProperty(const dbus::ObjectPath& ipconfig_path, 72 virtual void SetProperty(const dbus::ObjectPath& ipconfig_path,
72 const std::string& name, 73 const std::string& name,
73 const base::Value& value, 74 const base::Value& value,
74 const VoidCallback& callback) = 0; 75 const VoidCallback& callback) = 0;
75 76
76 // Calls ClearProperty method. 77 // Calls ClearProperty method.
77 // |callback| is called after the method call succeeds. 78 // |callback| is called after the method call succeeds.
78 virtual void ClearProperty(const dbus::ObjectPath& ipconfig_path, 79 virtual void ClearProperty(const dbus::ObjectPath& ipconfig_path,
79 const std::string& name, 80 const std::string& name,
80 const VoidCallback& callback) = 0; 81 const VoidCallback& callback) = 0;
81 82
82 // Calls Remove method. 83 // Calls Remove method.
83 // |callback| is called after the method call succeeds. 84 // |callback| is called after the method call succeeds.
84 virtual void Remove(const dbus::ObjectPath& ipconfig_path, 85 virtual void Remove(const dbus::ObjectPath& ipconfig_path,
85 const VoidCallback& callback) = 0; 86 const VoidCallback& callback) = 0;
86 87
87 // DEPRECATED DO NOT USE: Calls Remove method and blocks until the method call 88 // DEPRECATED DO NOT USE: Calls Remove method and blocks until the method call
88 // finishes. 89 // finishes.
89 // 90 //
90 // TODO(hashimoto): Refactor CrosRemoveIPConfig to remove this method. 91 // TODO(hashimoto): Refactor CrosRemoveIPConfig to remove this method.
92 // crosbug.com/29902
91 virtual bool CallRemoveAndBlock(const dbus::ObjectPath& ipconfig_path) = 0; 93 virtual bool CallRemoveAndBlock(const dbus::ObjectPath& ipconfig_path) = 0;
92 94
93 protected: 95 protected:
94 // Create() should be used instead. 96 // Create() should be used instead.
95 FlimflamIPConfigClient(); 97 FlimflamIPConfigClient();
96 98
97 private: 99 private:
98 DISALLOW_COPY_AND_ASSIGN(FlimflamIPConfigClient); 100 DISALLOW_COPY_AND_ASSIGN(FlimflamIPConfigClient);
99 }; 101 };
100 102
101 } // namespace chromeos 103 } // namespace chromeos
102 104
103 #endif // CHROMEOS_DBUS_FLIMFLAM_IPCONFIG_CLIENT_H_ 105 #endif // CHROMEOS_DBUS_FLIMFLAM_IPCONFIG_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/flimflam_device_client.h ('k') | chromeos/dbus/flimflam_network_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698