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

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

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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/drive_api_operations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_OPERATIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_OPERATIONS_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "chrome/browser/chromeos/gdata/operations_base.h"
12
13 // TODO(kochi): Rename to namespace drive. http://crbug.com/136371
14 namespace gdata {
15
16 //============================== GetAboutOperation =============================
17
18 // This class performs the operation for fetching About data.
19 class GetAboutOperation : public GetDataOperation {
20 public:
21 GetAboutOperation(GDataOperationRegistry* registry,
22 Profile* profile,
23 const GetDataCallback& callback);
24 virtual ~GetAboutOperation();
25
26 protected:
27 // Overridden from GetDataOperation.
28 virtual GURL GetURL() const OVERRIDE;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(GetAboutOperation);
32 };
33
34 //============================= GetApplistOperation ============================
35
36 // This class performs the operation for fetching Applist.
37 class GetApplistOperation : public GetDataOperation {
38 public:
39 GetApplistOperation(GDataOperationRegistry* registry,
40 Profile* profile,
41 const GetDataCallback& callback);
42 virtual ~GetApplistOperation();
43
44 protected:
45 // Overridden from GetDataOperation.
46 virtual GURL GetURL() const OVERRIDE;
47
48 private:
49 DISALLOW_COPY_AND_ASSIGN(GetApplistOperation);
50 };
51
52 } // namespace gdata
53
54 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_OPERATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/drive_api_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698