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

Side by Side Diff: chrome/browser/extensions/api/media_galleries/media_galleries_api.h

Issue 10806023: switch mediaGalleries to .idl api definition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry upload Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines the Chrome Extensions Media Galleries API functions for accessing 5 // Defines the Chrome Extensions Media Galleries API functions for accessing
6 // user's media files, as specified in the extension API JSON. 6 // user's media files, as specified in the extension API JSON.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
10 10
11 #include "chrome/browser/extensions/extension_function.h" 11 #include "chrome/browser/extensions/extension_function.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class GetMediaFileSystemsFunction : public SyncExtensionFunction { 15 class MediaGalleriesGetMediaFileSystemsFunction : public SyncExtensionFunction {
16 public: 16 public:
17 DECLARE_EXTENSION_FUNCTION_NAME( 17 DECLARE_EXTENSION_FUNCTION_NAME(
18 "experimental.mediaGalleries.getMediaFileSystems") 18 "experimental.mediaGalleries.getMediaFileSystems")
19 19
20 protected: 20 protected:
21 virtual ~GetMediaFileSystemsFunction(); 21 virtual ~MediaGalleriesGetMediaFileSystemsFunction();
22 virtual bool RunImpl() OVERRIDE; 22 virtual bool RunImpl() OVERRIDE;
23 }; 23 };
24 24
25 class OpenMediaGalleryManagerFunction : public SyncExtensionFunction { 25 class MediaGalleriesAssembleMediaFileFunction : public SyncExtensionFunction {
26 public:
27 DECLARE_EXTENSION_FUNCTION_NAME(
28 "experimental.mediaGalleries.openMediaGalleryManager")
29
30 protected:
31 virtual ~OpenMediaGalleryManagerFunction();
32 virtual bool RunImpl() OVERRIDE;
33 };
34
35 class AssembleMediaFileFunction : public SyncExtensionFunction {
36 public: 26 public:
37 DECLARE_EXTENSION_FUNCTION_NAME( 27 DECLARE_EXTENSION_FUNCTION_NAME(
38 "experimental.mediaGalleries.assembleMediaFile") 28 "experimental.mediaGalleries.assembleMediaFile")
39 29
40 protected: 30 protected:
41 virtual ~AssembleMediaFileFunction(); 31 virtual ~MediaGalleriesAssembleMediaFileFunction();
42 virtual bool RunImpl() OVERRIDE; 32 virtual bool RunImpl() OVERRIDE;
43 }; 33 };
44 34
45 } // namespace extensions 35 } // namespace extensions
46 36
47 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERY_MEDIA_GALLERY_API_H_ 37 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698