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 // 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 // Implements the mediaGalleries.GetMediaGalleries() extension function. |
| 17 class GetMediaGalleriesFunction : public AsyncExtensionFunction { |
| 18 public: |
| 19 virtual ~GetMediaGalleriesFunction(); |
| 20 virtual bool RunImpl() OVERRIDE; |
| 21 DECLARE_EXTENSION_FUNCTION_NAME( |
| 22 "experimental.mediaGalleries.getMediaGalleries") |
| 23 }; |
| 24 |
| 25 // Implements the mediaGalleries.OpenMediaGalleryManager() extension function. |
| 26 class OpenMediaGalleryManagerFunction : public SyncExtensionFunction { |
| 27 public: |
| 28 virtual ~OpenMediaGalleryManagerFunction(); |
| 29 virtual bool RunImpl() OVERRIDE; |
| 30 DECLARE_EXTENSION_FUNCTION_NAME( |
| 31 "experimental.mediaGalleries.openMediaGalleryManager") |
| 32 }; |
| 33 |
| 34 // Implements the mediaGalleries.AssembleMediaFile() extension function. |
| 35 class AssembleMediaFileFunction : public AsyncExtensionFunction { |
| 36 public: |
| 37 virtual ~AssembleMediaFileFunction(); |
| 38 virtual bool RunImpl() OVERRIDE; |
| 39 DECLARE_EXTENSION_FUNCTION_NAME( |
| 40 "experimental.mediaGalleries.assembleMediaFile") |
| 41 }; |
| 42 |
| 43 // Implements the mediaGalleries.ParseMediaFileMetadata() extension function. |
| 44 class ParseMediaFileMetadataFunction : public AsyncExtensionFunction { |
| 45 public: |
| 46 virtual ~ParseMediaFileMetadataFunction(); |
| 47 virtual bool RunImpl() OVERRIDE; |
| 48 DECLARE_EXTENSION_FUNCTION_NAME( |
| 49 "experimental.mediaGalleries.parseMediaFileMetadata") |
| 50 }; |
| 51 |
| 52 } // namespace extensions |
| 53 |
| 54 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
OLD | NEW |