Chromium Code Reviews| Index: chrome/browser/extensions/api/media_gallery/media_gallery_api.h |
| diff --git a/chrome/browser/extensions/api/media_gallery/media_gallery_api.h b/chrome/browser/extensions/api/media_gallery/media_gallery_api.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b7b8d2904ac7407e7309e13633ae7bf069b91a6f |
| --- /dev/null |
| +++ b/chrome/browser/extensions/api/media_gallery/media_gallery_api.h |
| @@ -0,0 +1,54 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Defines the Chrome Extensions Cookies API functions for accessing internet |
| +// cookies, as specified in the extension API JSON. |
| + |
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |
| +#pragma once |
| + |
| +#include "chrome/browser/extensions/extension_function.h" |
| + |
| +namespace extensions { |
| + |
| +// Implements the mediaGalleries.GetMediaGalleries() extension function. |
|
jstritar
2012/03/21 00:02:02
nit: don't really need these comments since the DE
vandebo (ex-Chrome)
2012/03/21 16:17:57
Done. I had just copied another file (don't remem
|
| +class GetMediaGalleriesFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~GetMediaGalleriesFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.getMediaGalleries") |
| +}; |
| + |
| +// Implements the mediaGalleries.OpenMediaGalleryManager() extension function. |
| +class OpenMediaGalleryManagerFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~OpenMediaGalleryManagerFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.openMediaGalleryManager") |
| +}; |
| + |
| +// Implements the mediaGalleries.AssembleMediaFile() extension function. |
| +class AssembleMediaFileFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~AssembleMediaFileFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.assembleMediaFile") |
| +}; |
| + |
| +// Implements the mediaGalleries.ParseMediaFileMetadata() extension function. |
| +class ParseMediaFileMetadataFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~ParseMediaFileMetadataFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.parseMediaFileMetadata") |
| +}; |
| + |
| +} // namespace extensions |
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ |