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..eab8b56b62aa284e6e28622c4e016c371ec6554e |
| --- /dev/null |
| +++ b/chrome/browser/extensions/api/media_gallery/media_gallery_api.h |
| @@ -0,0 +1,50 @@ |
| +// 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
|
| +// 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 { |
| + |
| +class GetMediaGalleriesFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~GetMediaGalleriesFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.getMediaGalleries") |
| +}; |
| + |
| +class OpenMediaGalleryManagerFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~OpenMediaGalleryManagerFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.openMediaGalleryManager") |
| +}; |
| + |
| +class AssembleMediaFileFunction : public SyncExtensionFunction { |
| + public: |
| + virtual ~AssembleMediaFileFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| + DECLARE_EXTENSION_FUNCTION_NAME( |
| + "experimental.mediaGalleries.assembleMediaFile") |
| +}; |
| + |
| +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_ |