OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 // Defines the Chrome Extensions Media Galleries API functions for accessing | 5 // Defines the Chrome Extensions Media Galleries API functions for accessing |
6 // user's media files, as specified in the extension API JSON. | 6 // user's media files, as specified in the extension API JSON. |
7 | 7 |
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ | 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ | 9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
10 #pragma once | |
11 | 10 |
12 #include "chrome/browser/extensions/extension_function.h" | 11 #include "chrome/browser/extensions/extension_function.h" |
13 | 12 |
14 namespace extensions { | 13 namespace extensions { |
15 | 14 |
16 class GetMediaFileSystemsFunction : public SyncExtensionFunction { | 15 class GetMediaFileSystemsFunction : public SyncExtensionFunction { |
17 public: | 16 public: |
18 DECLARE_EXTENSION_FUNCTION_NAME( | 17 DECLARE_EXTENSION_FUNCTION_NAME( |
19 "experimental.mediaGalleries.getMediaFileSystems") | 18 "experimental.mediaGalleries.getMediaFileSystems") |
20 | 19 |
(...skipping 18 matching lines...) Expand all Loading... |
39 "experimental.mediaGalleries.assembleMediaFile") | 38 "experimental.mediaGalleries.assembleMediaFile") |
40 | 39 |
41 protected: | 40 protected: |
42 virtual ~AssembleMediaFileFunction(); | 41 virtual ~AssembleMediaFileFunction(); |
43 virtual bool RunImpl() OVERRIDE; | 42 virtual bool RunImpl() OVERRIDE; |
44 }; | 43 }; |
45 | 44 |
46 } // namespace extensions | 45 } // namespace extensions |
47 | 46 |
48 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ | 47 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
OLD | NEW |