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

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

Issue 14069010: Call RequestScan periodically while the network list is open (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « chromeos/dbus/shill_device_client_stub.cc ('k') | chromeos/dbus/shill_manager_client_stub.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SHILL_MANAGER_CLIENT_STUB_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_ 6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void AddServiceToWatchList(const std::string& service_path); 106 void AddServiceToWatchList(const std::string& service_path);
107 void SetDefaultProperties(); 107 void SetDefaultProperties();
108 void PassStubProperties(const DictionaryValueCallback& callback) const; 108 void PassStubProperties(const DictionaryValueCallback& callback) const;
109 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const; 109 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;
110 void CallNotifyObserversPropertyChanged(const std::string& property, 110 void CallNotifyObserversPropertyChanged(const std::string& property,
111 int delay_ms); 111 int delay_ms);
112 void NotifyObserversPropertyChanged(const std::string& property); 112 void NotifyObserversPropertyChanged(const std::string& property);
113 base::ListValue* GetListProperty(const std::string& property); 113 base::ListValue* GetListProperty(const std::string& property);
114 bool TechnologyEnabled(const std::string& type) const; 114 bool TechnologyEnabled(const std::string& type) const;
115 base::ListValue* GetEnabledServiceList(const std::string& property) const; 115 base::ListValue* GetEnabledServiceList(const std::string& property) const;
116 void ScanCompleted(const std::string& device_path,
117 const base::Closure& callback);
116 118
117 // Dictionary of property name -> property value 119 // Dictionary of property name -> property value
118 base::DictionaryValue stub_properties_; 120 base::DictionaryValue stub_properties_;
119 // Dictionary of technology -> list of property dictionaries 121 // Dictionary of technology -> list of property dictionaries
120 base::DictionaryValue stub_geo_networks_; 122 base::DictionaryValue stub_geo_networks_;
121 123
122 ObserverList<ShillPropertyChangedObserver> observer_list_; 124 ObserverList<ShillPropertyChangedObserver> observer_list_;
123 125
124 // Note: This should remain the last member so it'll be destroyed and 126 // Note: This should remain the last member so it'll be destroyed and
125 // invalidate its weak pointers before any other members are destroyed. 127 // invalidate its weak pointers before any other members are destroyed.
126 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_; 128 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_;
127 129
128 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub); 130 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub);
129 }; 131 };
130 132
131 } // namespace chromeos 133 } // namespace chromeos
132 134
133 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_ 135 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_device_client_stub.cc ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698