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

Side by Side Diff: chrome/browser/extensions/api/gcd_private/gcd_private_api.cc

Issue 363883002: Add API stubs for GCD device commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 07/08/2014 1:11:55.68 Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/extensions/api/gcd_private/gcd_private_api.h" 5 #include "chrome/browser/extensions/api/gcd_private/gcd_private_api.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/local_discovery/cloud_device_list.h" 9 #include "chrome/browser/local_discovery/cloud_device_list.h"
10 #include "chrome/browser/local_discovery/cloud_print_printer_list.h" 10 #include "chrome/browser/local_discovery/cloud_print_printer_list.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 devices.push_back(device); 141 devices.push_back(device);
142 } 142 }
143 143
144 results_ = extensions::api::gcd_private::GetCloudDeviceList::Results::Create( 144 results_ = extensions::api::gcd_private::GetCloudDeviceList::Results::Create(
145 devices); 145 devices);
146 146
147 SendResponse(true); 147 SendResponse(true);
148 Release(); 148 Release();
149 } 149 }
150 150
151 GcdPrivateQueryForNewLocalDevicesFunction::
152 GcdPrivateQueryForNewLocalDevicesFunction() {
153 }
154
155 GcdPrivateQueryForNewLocalDevicesFunction::
156 ~GcdPrivateQueryForNewLocalDevicesFunction() {
157 }
158
159 bool GcdPrivateQueryForNewLocalDevicesFunction::RunAsync() {
160 return false;
161 }
162
151 GcdPrivateStartSetupFunction::GcdPrivateStartSetupFunction() { 163 GcdPrivateStartSetupFunction::GcdPrivateStartSetupFunction() {
152 } 164 }
153 165
154 GcdPrivateStartSetupFunction::~GcdPrivateStartSetupFunction() { 166 GcdPrivateStartSetupFunction::~GcdPrivateStartSetupFunction() {
155 } 167 }
156 168
157 bool GcdPrivateStartSetupFunction::RunAsync() { 169 bool GcdPrivateStartSetupFunction::RunAsync() {
158 return false; 170 return false;
159 } 171 }
160 172
161 GcdPrivateSetWiFiNetworksFunction::GcdPrivateSetWiFiNetworksFunction() { 173 GcdPrivateSetWiFiNetworkFunction::GcdPrivateSetWiFiNetworkFunction() {
162 } 174 }
163 175
164 GcdPrivateSetWiFiNetworksFunction::~GcdPrivateSetWiFiNetworksFunction() { 176 GcdPrivateSetWiFiNetworkFunction::~GcdPrivateSetWiFiNetworkFunction() {
165 } 177 }
166 178
167 bool GcdPrivateSetWiFiNetworksFunction::RunAsync() { 179 bool GcdPrivateSetWiFiNetworkFunction::RunAsync() {
168 return false; 180 return false;
169 } 181 }
170 182
171 GcdPrivateSetWiFiCredentialsFunction::GcdPrivateSetWiFiCredentialsFunction() { 183 GcdPrivateSetWiFiPasswordFunction::GcdPrivateSetWiFiPasswordFunction() {
172 } 184 }
173 185
174 GcdPrivateSetWiFiCredentialsFunction::~GcdPrivateSetWiFiCredentialsFunction() { 186 GcdPrivateSetWiFiPasswordFunction::~GcdPrivateSetWiFiPasswordFunction() {
175 } 187 }
176 188
177 bool GcdPrivateSetWiFiCredentialsFunction::RunAsync() { 189 bool GcdPrivateSetWiFiPasswordFunction::RunAsync() {
178 return false; 190 return false;
179 } 191 }
180 192
181 GcdPrivateConfirmCodeFunction::GcdPrivateConfirmCodeFunction() { 193 GcdPrivateConfirmCodeFunction::GcdPrivateConfirmCodeFunction() {
182 } 194 }
183 195
184 GcdPrivateConfirmCodeFunction::~GcdPrivateConfirmCodeFunction() { 196 GcdPrivateConfirmCodeFunction::~GcdPrivateConfirmCodeFunction() {
185 } 197 }
186 198
187 bool GcdPrivateConfirmCodeFunction::RunAsync() { 199 bool GcdPrivateConfirmCodeFunction::RunAsync() {
188 return false; 200 return false;
189 } 201 }
190 202
191 GcdPrivateStopSetupFunction::GcdPrivateStopSetupFunction() { 203 GcdPrivateStopSetupFunction::GcdPrivateStopSetupFunction() {
192 } 204 }
193 205
194 GcdPrivateStopSetupFunction::~GcdPrivateStopSetupFunction() { 206 GcdPrivateStopSetupFunction::~GcdPrivateStopSetupFunction() {
195 } 207 }
196 208
197 bool GcdPrivateStopSetupFunction::RunAsync() { 209 bool GcdPrivateStopSetupFunction::RunAsync() {
198 return false; 210 return false;
199 } 211 }
200 212
213 GcdPrivateGetCommandDefinitionsFunction::
214 GcdPrivateGetCommandDefinitionsFunction() {
215 }
216
217 GcdPrivateGetCommandDefinitionsFunction::
218 ~GcdPrivateGetCommandDefinitionsFunction() {
219 }
220
221 bool GcdPrivateGetCommandDefinitionsFunction::RunAsync() {
222 return false;
223 }
224
225 GcdPrivateInsertCommandFunction::GcdPrivateInsertCommandFunction() {
226 }
227
228 GcdPrivateInsertCommandFunction::~GcdPrivateInsertCommandFunction() {
229 }
230
231 bool GcdPrivateInsertCommandFunction::RunAsync() {
232 return false;
233 }
234
235 GcdPrivateGetCommandFunction::GcdPrivateGetCommandFunction() {
236 }
237
238 GcdPrivateGetCommandFunction::~GcdPrivateGetCommandFunction() {
239 }
240
241 bool GcdPrivateGetCommandFunction::RunAsync() {
242 return false;
243 }
244
245 GcdPrivateCancelCommandFunction::GcdPrivateCancelCommandFunction() {
246 }
247
248 GcdPrivateCancelCommandFunction::~GcdPrivateCancelCommandFunction() {
249 }
250
251 bool GcdPrivateCancelCommandFunction::RunAsync() {
252 return false;
253 }
254
255 GcdPrivateGetCommandsListFunction::GcdPrivateGetCommandsListFunction() {
256 }
257
258 GcdPrivateGetCommandsListFunction::~GcdPrivateGetCommandsListFunction() {
259 }
260
261 bool GcdPrivateGetCommandsListFunction::RunAsync() {
262 return false;
263 }
264
201 } // namespace extensions 265 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698