Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/chromeos/gdata/drive_api_operations.h" | |
| 6 | |
| 7 namespace { | |
| 8 | |
| 9 const char kDriveV2AboutURL[] = "https://www.googleapis.com/drive/v2/about"; | |
| 10 const char kDriveV2ApplistURL[] = "https://www.googleapis.com/drive/v2/apps"; | |
| 11 | |
| 12 } // namespace | |
| 13 | |
| 14 // TODO(kochi): Rename to namespace drive. http://crbug.com/136371 | |
| 15 namespace gdata { | |
| 16 | |
| 17 //============================== GetAboutOperation ============================= | |
| 18 | |
| 19 GetAboutOperation::GetAboutOperation( | |
| 20 GDataOperationRegistry* registry, | |
| 21 Profile* profile, | |
| 22 const GetDataCallback& callback) | |
| 23 : GetDataOperation(registry, profile, callback) { | |
| 24 } | |
| 25 | |
| 26 GetAboutOperation::~GetAboutOperation() {} | |
| 27 | |
| 28 GURL GetAboutOperation::GetURL() const { | |
| 29 return GURL(kDriveV2AboutURL); | |
| 30 } | |
| 31 | |
| 32 //============================== GetApplistOperation =========================== | |
| 33 | |
| 34 GetApplistOperation::GetApplistOperation( | |
| 35 GDataOperationRegistry* registry, | |
| 36 Profile* profile, | |
| 37 const GetDataCallback& callback) | |
| 38 : GetDataOperation(registry, profile, callback) {} | |
|
hashimoto
2012/07/27 06:48:37
nit: Please insert a newline here, or remove the n
kochi
2012/07/27 06:56:58
Done.
| |
| 39 | |
| 40 GetApplistOperation::~GetApplistOperation() {} | |
| 41 | |
| 42 GURL GetApplistOperation::GetURL() const { | |
| 43 return GURL(kDriveV2ApplistURL); | |
| 44 } | |
| 45 | |
| 46 } // namespace gdata | |
| OLD | NEW |