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

Side by Side Diff: chrome/browser/google_apis/drive_api_operations.cc

Issue 10920091: Move Drive API files to google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reflect comments Created 8 years, 3 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 (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
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
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/drive_api_operations.h ('k') | chrome/browser/google_apis/drive_api_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698