| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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/chromeos/gdata/drive_api_operations.h" | 5 #include "chrome/browser/google_apis/drive_api_operations.h" |
| 6 | 6 |
| 7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "chrome/common/net/url_util.h" | 9 #include "chrome/common/net/url_util.h" |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 const char kDriveV2AboutURL[] = "https://www.googleapis.com/drive/v2/about"; | 13 const char kDriveV2AboutURL[] = "https://www.googleapis.com/drive/v2/about"; |
| 14 const char kDriveV2ApplistURL[] = "https://www.googleapis.com/drive/v2/apps"; | 14 const char kDriveV2ApplistURL[] = "https://www.googleapis.com/drive/v2/apps"; |
| 15 const char kDriveV2ChangelistURL[] = | 15 const char kDriveV2ChangelistURL[] = |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 : GetDataOperation(registry, callback), | 104 : GetDataOperation(registry, callback), |
| 105 file_id_(file_id) {} | 105 file_id_(file_id) {} |
| 106 | 106 |
| 107 GetFileOperation::~GetFileOperation() {} | 107 GetFileOperation::~GetFileOperation() {} |
| 108 | 108 |
| 109 GURL GetFileOperation::GetURL() const { | 109 GURL GetFileOperation::GetURL() const { |
| 110 return GURL(base::StringPrintf(kDriveV2FileURLFormat, file_id_.c_str())); | 110 return GURL(base::StringPrintf(kDriveV2FileURLFormat, file_id_.c_str())); |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace gdata | 113 } // namespace gdata |
| OLD | NEW |