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

Side by Side Diff: chromeos/dbus/flimflam_service_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_network_client.h ('k') | chromeos/dbus/flimflam_service_client.cc » ('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_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FLIMFLAM_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_FLIMFLAM_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_FLIMFLAM_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // |callback| is called after the method call succeeds. 89 // |callback| is called after the method call succeeds.
90 virtual void Remove(const dbus::ObjectPath& service_path, 90 virtual void Remove(const dbus::ObjectPath& service_path,
91 const VoidCallback& callback) = 0; 91 const VoidCallback& callback) = 0;
92 92
93 // Calls ActivateCellularModem method. 93 // Calls ActivateCellularModem method.
94 // |callback| is called after the method call succeeds. 94 // |callback| is called after the method call succeeds.
95 virtual void ActivateCellularModem(const dbus::ObjectPath& service_path, 95 virtual void ActivateCellularModem(const dbus::ObjectPath& service_path,
96 const std::string& carrier, 96 const std::string& carrier,
97 const VoidCallback& callback) = 0; 97 const VoidCallback& callback) = 0;
98 98
99 // DEPRECATED DO NOT USE: Calls ActivateCellularModem method and blocks until
100 // the method call finishes.
101 //
102 // TODO(hashimoto): Refactor CrosActivateCellularModem and remove this method.
103 // crosbug.com/29902
104 virtual bool CallActivateCellularModemAndBlock(
105 const dbus::ObjectPath& service_path,
106 const std::string& carrier) = 0;
107
99 protected: 108 protected:
100 // Create() should be used instead. 109 // Create() should be used instead.
101 FlimflamServiceClient(); 110 FlimflamServiceClient();
102 111
103 private: 112 private:
104 DISALLOW_COPY_AND_ASSIGN(FlimflamServiceClient); 113 DISALLOW_COPY_AND_ASSIGN(FlimflamServiceClient);
105 }; 114 };
106 115
107 } // namespace chromeos 116 } // namespace chromeos
108 117
109 #endif // CHROMEOS_DBUS_FLIMFLAM_SERVICE_CLIENT_H_ 118 #endif // CHROMEOS_DBUS_FLIMFLAM_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/flimflam_network_client.h ('k') | chromeos/dbus/flimflam_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698