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

Side by Side Diff: chrome/browser/extensions/api/media_gallery/media_gallery_api.cc

Issue 9358076: Initial extension bindings for Media Gallery API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Implements the Chrome Extensions Cookies API.
6
7 #include "chrome/browser/extensions/api/media_gallery/media_gallery_api.h"
8
9 #include "base/values.h"
10
11 namespace extensions {
12
13 GetMediaGalleriesFunction::~GetMediaGalleriesFunction() {}
14
15 bool GetMediaGalleriesFunction::RunImpl() {
16 // TODO(vandebo) Get the list of galleries.
17 result_.reset(new ListValue);
18 return true;
19 }
20
21 OpenMediaGalleryManagerFunction::~OpenMediaGalleryManagerFunction() {}
22
23 bool OpenMediaGalleryManagerFunction::RunImpl() {
24 // TODO(vandebo) Open a new tab/ui surface with config UI.
25 return true;
26 }
27
28 AssembleMediaFileFunction::~AssembleMediaFileFunction() {}
29
30 bool AssembleMediaFileFunction::RunImpl() {
31 // TODO(vandebo) Update the metadata and return the new file.
32 result_.reset(Value::CreateNullValue());
33 return true;
34 }
35
36 ParseMediaFileMetadataFunction::~ParseMediaFileMetadataFunction() {}
37
38 bool ParseMediaFileMetadataFunction::RunImpl() {
39 // TODO(vandebo) Try to parse the file.
40 result_.reset(Value::CreateNullValue());
41 return true;
42 }
43
44 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698