Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
|
Aaron Boodman
2012/03/29 05:28:30
I thought that you were not going to use Extension
vandebo (ex-Chrome)
2012/03/29 18:45:02
All of these top level APIs are static, so will wo
Aaron Boodman
2012/03/30 22:14:57
OK, I understand now. These are the special top-le
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Defines the Chrome Extensions Cookies API functions for accessing internet | |
| 6 // cookies, as specified in the extension API JSON. | |
| 7 | |
| 8 #ifndef 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 | |
| 12 #include "chrome/browser/extensions/extension_function.h" | |
| 13 | |
| 14 namespace extensions { | |
| 15 | |
| 16 class GetMediaGalleriesFunction : public SyncExtensionFunction { | |
| 17 public: | |
| 18 virtual ~GetMediaGalleriesFunction(); | |
| 19 virtual bool RunImpl() OVERRIDE; | |
| 20 DECLARE_EXTENSION_FUNCTION_NAME( | |
| 21 "experimental.mediaGalleries.getMediaGalleries") | |
| 22 }; | |
| 23 | |
| 24 class OpenMediaGalleryManagerFunction : public SyncExtensionFunction { | |
| 25 public: | |
| 26 virtual ~OpenMediaGalleryManagerFunction(); | |
| 27 virtual bool RunImpl() OVERRIDE; | |
| 28 DECLARE_EXTENSION_FUNCTION_NAME( | |
| 29 "experimental.mediaGalleries.openMediaGalleryManager") | |
| 30 }; | |
| 31 | |
| 32 class AssembleMediaFileFunction : public SyncExtensionFunction { | |
| 33 public: | |
| 34 virtual ~AssembleMediaFileFunction(); | |
| 35 virtual bool RunImpl() OVERRIDE; | |
| 36 DECLARE_EXTENSION_FUNCTION_NAME( | |
| 37 "experimental.mediaGalleries.assembleMediaFile") | |
| 38 }; | |
| 39 | |
| 40 class ParseMediaFileMetadataFunction : public SyncExtensionFunction { | |
| 41 public: | |
| 42 virtual ~ParseMediaFileMetadataFunction(); | |
| 43 virtual bool RunImpl() OVERRIDE; | |
| 44 DECLARE_EXTENSION_FUNCTION_NAME( | |
| 45 "experimental.mediaGalleries.parseMediaFileMetadata") | |
| 46 }; | |
| 47 | |
| 48 } // namespace extensions | |
| 49 | |
| 50 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ | |
| OLD | NEW |