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

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

Issue 13004024: Add ConnectToBestServices call when Certs are loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/shill_manager_client.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const ErrorCallback& error_callback) OVERRIDE; 63 const ErrorCallback& error_callback) OVERRIDE;
64 virtual void VerifyAndEncryptCredentials( 64 virtual void VerifyAndEncryptCredentials(
65 const std::string& certificate, 65 const std::string& certificate,
66 const std::string& public_key, 66 const std::string& public_key,
67 const std::string& nonce, 67 const std::string& nonce,
68 const std::string& signed_data, 68 const std::string& signed_data,
69 const std::string& device_serial, 69 const std::string& device_serial,
70 const std::string& service_path, 70 const std::string& service_path,
71 const StringCallback& callback, 71 const StringCallback& callback,
72 const ErrorCallback& error_callback) OVERRIDE; 72 const ErrorCallback& error_callback) OVERRIDE;
73 virtual void VerifyAndEncryptData(const std::string& certificate, 73 virtual void VerifyAndEncryptData(
74 const std::string& public_key, 74 const std::string& certificate,
75 const std::string& nonce, 75 const std::string& public_key,
76 const std::string& signed_data, 76 const std::string& nonce,
77 const std::string& device_serial, 77 const std::string& signed_data,
78 const std::string& data, 78 const std::string& device_serial,
79 const StringCallback& callback, 79 const std::string& data,
80 const ErrorCallback& error_callback) OVERRIDE; 80 const StringCallback& callback,
81 const ErrorCallback& error_callback) OVERRIDE;
82 virtual void ConnectToBestServices(
83 const base::Closure& callback,
84 const ErrorCallback& error_callback) OVERRIDE;
81 virtual ShillManagerClient::TestInterface* GetTestInterface() OVERRIDE; 85 virtual ShillManagerClient::TestInterface* GetTestInterface() OVERRIDE;
82 86
83 // ShillManagerClient::TestInterface overrides. 87 // ShillManagerClient::TestInterface overrides.
84 88
85 virtual void AddDevice(const std::string& device_path) OVERRIDE; 89 virtual void AddDevice(const std::string& device_path) OVERRIDE;
86 virtual void RemoveDevice(const std::string& device_path) OVERRIDE; 90 virtual void RemoveDevice(const std::string& device_path) OVERRIDE;
87 virtual void ClearDevices() OVERRIDE; 91 virtual void ClearDevices() OVERRIDE;
88 virtual void ClearServices() OVERRIDE; 92 virtual void ClearServices() OVERRIDE;
89 virtual void AddService(const std::string& service_path, 93 virtual void AddService(const std::string& service_path,
90 bool add_to_watch_list) OVERRIDE; 94 bool add_to_watch_list) OVERRIDE;
(...skipping 29 matching lines...) Expand all
120 // Note: This should remain the last member so it'll be destroyed and 124 // Note: This should remain the last member so it'll be destroyed and
121 // invalidate its weak pointers before any other members are destroyed. 125 // invalidate its weak pointers before any other members are destroyed.
122 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_; 126 base::WeakPtrFactory<ShillManagerClientStub> weak_ptr_factory_;
123 127
124 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub); 128 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientStub);
125 }; 129 };
126 130
127 } // namespace chromeos 131 } // namespace chromeos
128 132
129 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_ 133 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_STUB_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_manager_client.cc ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698