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

Unified Diff: chrome/default_plugin/plugin_impl_aura.cc

Issue 8689001: Reland 111519: Remove default plug-in on Mac, Gtk and Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 1 month 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
« no previous file with comments | « chrome/default_plugin/plugin_impl_aura.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/default_plugin/plugin_impl_aura.cc
diff --git a/chrome/default_plugin/plugin_impl_aura.cc b/chrome/default_plugin/plugin_impl_aura.cc
deleted file mode 100644
index 4122854f6887986b1c6eb5788e91cd91ffc55fe2..0000000000000000000000000000000000000000
--- a/chrome/default_plugin/plugin_impl_aura.cc
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "chrome/default_plugin/plugin_impl_aura.h"
-
-#include "base/file_util.h"
-#include "base/path_service.h"
-#include "base/string_util.h"
-#include "chrome/common/chrome_plugin_messages.h"
-#include "chrome/default_plugin/plugin_main.h"
-#include "content/common/child_thread.h"
-#include "content/public/common/content_constants.h"
-#include "googleurl/src/gurl.h"
-#include "grit/webkit_strings.h"
-#include "unicode/locid.h"
-#include "webkit/plugins/npapi/default_plugin_shared.h"
-
-PluginInstallerImpl::PluginInstallerImpl(int16 mode) {}
-
-PluginInstallerImpl::~PluginInstallerImpl() {
-}
-
-bool PluginInstallerImpl::Initialize(void* module_handle,
- NPP instance,
- NPMIMEType mime_type,
- int16 argc,
- char* argn[],
- char* argv[]) {
- DVLOG(1) << __FUNCTION__ << " MIME Type : " << mime_type;
- DCHECK(instance != NULL);
-
- if (mime_type == NULL || strlen(mime_type) == 0) {
- DLOG(WARNING) << __FUNCTION__ << " Invalid parameters passed in";
- NOTREACHED();
- return false;
- }
-
- PluginInstallerBase::SetRoutingIds(argc, argn, argv);
- return true;
-}
-
-bool PluginInstallerImpl::NPP_SetWindow(NPWindow* window_info) {
- NOTIMPLEMENTED();
- return true;
-}
-
-void PluginInstallerImpl::Shutdown() {
-}
-
-void PluginInstallerImpl::NewStream(NPStream* stream) {
- NOTIMPLEMENTED();
-}
-
-void PluginInstallerImpl::DestroyStream(NPStream* stream, NPError reason) {
- NOTIMPLEMENTED();
-}
-
-bool PluginInstallerImpl::WriteReady(NPStream* stream) {
- NOTIMPLEMENTED();
- return false;
-}
-
-int32 PluginInstallerImpl::Write(NPStream* stream, int32 offset,
- int32 buffer_length, void* buffer) {
- return true;
-}
-
-void PluginInstallerImpl::URLNotify(const char* url, NPReason reason) {
-}
-
-int16 PluginInstallerImpl::NPP_HandleEvent(void* event) {
- return 0;
-}
« no previous file with comments | « chrome/default_plugin/plugin_impl_aura.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698