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

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

Issue 13957012: Adding a NetworkProfileHandler used by ManagedNetworkConfigurationHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed one comment. Created 7 years, 7 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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void AddServiceAtIndex(const std::string& service_path, 100 virtual void AddServiceAtIndex(const std::string& service_path,
101 size_t index, 101 size_t index,
102 bool add_to_watch_list) OVERRIDE; 102 bool add_to_watch_list) OVERRIDE;
103 virtual void RemoveService(const std::string& service_path) OVERRIDE; 103 virtual void RemoveService(const std::string& service_path) OVERRIDE;
104 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE; 104 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE;
105 virtual void RemoveTechnology(const std::string& type) OVERRIDE; 105 virtual void RemoveTechnology(const std::string& type) OVERRIDE;
106 virtual void SetTechnologyInitializing(const std::string& type, 106 virtual void SetTechnologyInitializing(const std::string& type,
107 bool initializing) OVERRIDE; 107 bool initializing) OVERRIDE;
108 virtual void AddGeoNetwork(const std::string& technology, 108 virtual void AddGeoNetwork(const std::string& technology,
109 const base::DictionaryValue& network) OVERRIDE; 109 const base::DictionaryValue& network) OVERRIDE;
110 virtual void AddProfile(const std::string& profile_path) OVERRIDE;
110 virtual void ClearProperties() OVERRIDE; 111 virtual void ClearProperties() OVERRIDE;
111 112
112 private: 113 private:
113 void AddServiceToWatchList(const std::string& service_path); 114 void AddServiceToWatchList(const std::string& service_path);
114 void SetDefaultProperties(); 115 void SetDefaultProperties();
115 void PassStubProperties(const DictionaryValueCallback& callback) const; 116 void PassStubProperties(const DictionaryValueCallback& callback) const;
116 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const; 117 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;
117 void CallNotifyObserversPropertyChanged(const std::string& property, 118 void CallNotifyObserversPropertyChanged(const std::string& property,
118 int delay_ms); 119 int delay_ms);
119 void NotifyObserversPropertyChanged(const std::string& property); 120 void NotifyObserversPropertyChanged(const std::string& property);
(...skipping 16 matching lines...) Expand all
136 // Note: This should remain the last member so it'll be destroyed and 137 // Note: This should remain the last member so it'll be destroyed and
137 // invalidate its weak pointers before any other members are destroyed. 138 // invalidate its weak pointers before any other members are destroyed.
138 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_; 139 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub); 141 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub);
141 }; 142 };
142 143
143 } // namespace chromeos 144 } // namespace chromeos
144 145
145 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_ 146 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698