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

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

Issue 330833003: Rely on Service.Visible instead of Manager.Services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual void SortManagerServices(bool notify) OVERRIDE; 101 virtual void SortManagerServices(bool notify) OVERRIDE;
102 virtual void SetupDefaultEnvironment() OVERRIDE; 102 virtual void SetupDefaultEnvironment() OVERRIDE;
103 virtual int GetInteractiveDelay() const OVERRIDE; 103 virtual int GetInteractiveDelay() const OVERRIDE;
104 virtual void SetBestServiceToConnect( 104 virtual void SetBestServiceToConnect(
105 const std::string& service_path) OVERRIDE; 105 const std::string& service_path) OVERRIDE;
106 106
107 // Constants used for testing. 107 // Constants used for testing.
108 static const char kFakeEthernetNetworkPath[]; 108 static const char kFakeEthernetNetworkPath[];
109 109
110 private: 110 private:
111 // |property| should be kServicesProperty or kServiceCompleteListProperty.
112 void SortServiceList(const std::string& property); 111 void SortServiceList(const std::string& property);
pneubeck (no reviews) 2014/06/16 14:38:15 oops. This function isn't defined (and is unused).
stevenjb 2014/06/16 19:54:49 Done.
113 112
114 void SetDefaultProperties(); 113 void SetDefaultProperties();
115 void PassStubProperties(const DictionaryValueCallback& callback) const; 114 void PassStubProperties(const DictionaryValueCallback& callback) const;
116 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const; 115 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;
117 void CallNotifyObserversPropertyChanged(const std::string& property); 116 void CallNotifyObserversPropertyChanged(const std::string& property);
118 void NotifyObserversPropertyChanged(const std::string& property); 117 void NotifyObserversPropertyChanged(const std::string& property);
119 base::ListValue* GetListProperty(const std::string& property); 118 base::ListValue* GetListProperty(const std::string& property);
120 bool TechnologyEnabled(const std::string& type) const; 119 bool TechnologyEnabled(const std::string& type) const;
121 void SetTechnologyEnabled(const std::string& type, 120 void SetTechnologyEnabled(const std::string& type,
122 const base::Closure& callback, 121 const base::Closure& callback,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 156
158 // 'Best' service to connect to on ConnectToBestServices() calls. 157 // 'Best' service to connect to on ConnectToBestServices() calls.
159 std::string best_service_; 158 std::string best_service_;
160 159
161 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); 160 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient);
162 }; 161 };
163 162
164 } // namespace chromeos 163 } // namespace chromeos
165 164
166 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ 165 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | chromeos/network/network_state_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698