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

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: Rebased. 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
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void AddServiceAtIndex(const std::string& service_path, 88 virtual void AddServiceAtIndex(const std::string& service_path,
89 size_t index, 89 size_t index,
90 bool add_to_watch_list) OVERRIDE; 90 bool add_to_watch_list) OVERRIDE;
91 virtual void RemoveService(const std::string& service_path) OVERRIDE; 91 virtual void RemoveService(const std::string& service_path) OVERRIDE;
92 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE; 92 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE;
93 virtual void RemoveTechnology(const std::string& type) OVERRIDE; 93 virtual void RemoveTechnology(const std::string& type) OVERRIDE;
94 virtual void SetTechnologyInitializing(const std::string& type, 94 virtual void SetTechnologyInitializing(const std::string& type,
95 bool initializing) OVERRIDE; 95 bool initializing) OVERRIDE;
96 virtual void AddGeoNetwork(const std::string& technology, 96 virtual void AddGeoNetwork(const std::string& technology,
97 const base::DictionaryValue& network) OVERRIDE; 97 const base::DictionaryValue& network) OVERRIDE;
98 virtual void AddProfile(const std::string& profile_path) OVERRIDE;
98 virtual void ClearProperties() OVERRIDE; 99 virtual void ClearProperties() OVERRIDE;
99 100
100 private: 101 private:
101 void AddServiceToWatchList(const std::string& service_path); 102 void AddServiceToWatchList(const std::string& service_path);
102 void SetDefaultProperties(); 103 void SetDefaultProperties();
103 void PassStubProperties(const DictionaryValueCallback& callback) const; 104 void PassStubProperties(const DictionaryValueCallback& callback) const;
104 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const; 105 void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;
105 void CallNotifyObserversPropertyChanged(const std::string& property, 106 void CallNotifyObserversPropertyChanged(const std::string& property,
106 int delay_ms); 107 int delay_ms);
107 void NotifyObserversPropertyChanged(const std::string& property); 108 void NotifyObserversPropertyChanged(const std::string& property);
(...skipping 16 matching lines...) Expand all
124 // Note: This should remain the last member so it'll be destroyed and 125 // Note: This should remain the last member so it'll be destroyed and
125 // invalidate its weak pointers before any other members are destroyed. 126 // invalidate its weak pointers before any other members are destroyed.
126 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_; 127 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub); 129 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub);
129 }; 130 };
130 131
131 } // namespace chromeos 132 } // namespace chromeos
132 133
133 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_ 134 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698