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

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

Issue 9812036: Revert 128089 - Initial extension bindings for Media Gallery API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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.cc
===================================================================
--- chrome/browser/extensions/api/media_gallery/media_gallery_api.cc (revision 128134)
+++ chrome/browser/extensions/api/media_gallery/media_gallery_api.cc (working copy)
@@ -1,44 +0,0 @@
-// 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.
-
-// Implements the Chrome Extensions Cookies API.
-
-#include "chrome/browser/extensions/api/media_gallery/media_gallery_api.h"
-
-#include "base/values.h"
-
-namespace extensions {
-
-GetMediaGalleriesFunction::~GetMediaGalleriesFunction() {}
-
-bool GetMediaGalleriesFunction::RunImpl() {
- // TODO(vandebo) Get the list of galleries.
- result_.reset(new ListValue);
- return true;
-}
-
-OpenMediaGalleryManagerFunction::~OpenMediaGalleryManagerFunction() {}
-
-bool OpenMediaGalleryManagerFunction::RunImpl() {
- // TODO(vandebo) Open a new tab/ui surface with config UI.
- return true;
-}
-
-AssembleMediaFileFunction::~AssembleMediaFileFunction() {}
-
-bool AssembleMediaFileFunction::RunImpl() {
- // TODO(vandebo) Update the metadata and return the new file.
- result_.reset(Value::CreateNullValue());
- return true;
-}
-
-ParseMediaFileMetadataFunction::~ParseMediaFileMetadataFunction() {}
-
-bool ParseMediaFileMetadataFunction::RunImpl() {
- // TODO(vandebo) Try to parse the file.
- result_.reset(Value::CreateNullValue());
- return true;
-}
-
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698