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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h

Issue 23581006: Reland 220012: Move the functions of filebrowserPrivateApi from the file_manager namespace to the e… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file provides task related API functions. 5 // This file provides task related API functions.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" 15 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h"
16 16
17 class PrefService; 17 class PrefService;
18 18
19 namespace drive { 19 namespace drive {
20 class DriveAppRegistry; 20 class DriveAppRegistry;
21 } 21 }
22 22
23 namespace file_manager { 23 namespace extensions {
24 24
25 // Implements the chrome.fileBrowserPrivate.executeTask method. 25 // Implements the chrome.fileBrowserPrivate.executeTask method.
26 class ExecuteTaskFunction : public LoggedAsyncExtensionFunction { 26 class ExecuteTaskFunction : public LoggedAsyncExtensionFunction {
27 public: 27 public:
28 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.executeTask", 28 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.executeTask",
29 FILEBROWSERPRIVATE_EXECUTETASK) 29 FILEBROWSERPRIVATE_EXECUTETASK)
30 30
31 ExecuteTaskFunction(); 31 ExecuteTaskFunction();
32 32
33 protected: 33 protected:
(...skipping 28 matching lines...) Expand all
62 62
63 SetDefaultTaskFunction(); 63 SetDefaultTaskFunction();
64 64
65 protected: 65 protected:
66 virtual ~SetDefaultTaskFunction(); 66 virtual ~SetDefaultTaskFunction();
67 67
68 // SyncExtensionFunction overrides. 68 // SyncExtensionFunction overrides.
69 virtual bool RunImpl() OVERRIDE; 69 virtual bool RunImpl() OVERRIDE;
70 }; 70 };
71 71
72 } // namespace file_manager 72 } // namespace extensions
73 73
74 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_ 74 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698