Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2418)

Unified Diff: chrome/browser/extensions/api/media_gallery/media_gallery_api.h

Issue 9358076: Initial extension bindings for Media Gallery API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698