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 #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_ |
OLD | NEW |