OLD | NEW |
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 <vector> | 10 #include <vector> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 class FileBrowserPrivateSetDefaultTaskFunction | 56 class FileBrowserPrivateSetDefaultTaskFunction |
57 : public ChromeSyncExtensionFunction { | 57 : public ChromeSyncExtensionFunction { |
58 public: | 58 public: |
59 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.setDefaultTask", | 59 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.setDefaultTask", |
60 FILEBROWSERPRIVATE_SETDEFAULTTASK) | 60 FILEBROWSERPRIVATE_SETDEFAULTTASK) |
61 | 61 |
62 protected: | 62 protected: |
63 virtual ~FileBrowserPrivateSetDefaultTaskFunction() {} | 63 virtual ~FileBrowserPrivateSetDefaultTaskFunction() {} |
64 | 64 |
65 // SyncExtensionFunction overrides. | 65 // SyncExtensionFunction overrides. |
66 virtual bool RunImpl() OVERRIDE; | 66 virtual bool RunSync() OVERRIDE; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace extensions | 69 } // namespace extensions |
70 | 70 |
71 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_ | 71 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_TASKS_H_ |
OLD | NEW |