| 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.
|
| +// 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_
|
|
|