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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_api_operations.cc

Issue 10821065: Add Drive API specific operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update for comments. Created 8 years, 4 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
(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 GetAboutOperation::~GetAboutOperation() {}
26
27 GURL GetAboutOperation::GetURL() const {
28 return GURL(kDriveV2AboutURL);
29 }
30
31 //============================== GetApplistOperation ===========================
32
33 GetApplistOperation::GetApplistOperation(
34 GDataOperationRegistry* registry,
35 Profile* profile,
36 const GetDataCallback& callback)
37 : GetDataOperation(registry, profile, callback) {}
38
39 GetApplistOperation::~GetApplistOperation() {}
40
41 GURL GetApplistOperation::GetURL() const {
42 return GURL(kDriveV2ApplistURL);
43 }
44
45 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_api_operations.h ('k') | chrome/browser/chromeos/gdata/gdata_documents_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698