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

Unified Diff: content/renderer/browser_plugin/browser_plugin_browsertest.h

Issue 617123005: Remove BrowserPlugin tests (only one test remaining with existing coverage) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_lifetime_explicit
Patch Set: More cleanup Created 6 years, 3 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: content/renderer/browser_plugin/browser_plugin_browsertest.h
diff --git a/content/renderer/browser_plugin/browser_plugin_browsertest.h b/content/renderer/browser_plugin/browser_plugin_browsertest.h
deleted file mode 100644
index 434da343f42db4a72c280fd1ea0b552db82b6ef4..0000000000000000000000000000000000000000
--- a/content/renderer/browser_plugin/browser_plugin_browsertest.h
+++ /dev/null
@@ -1,50 +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.
-
-#ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
-#define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/common/browser_plugin/browser_plugin_messages.h"
-#include "content/public/test/render_view_test.h"
-#include "content/renderer/browser_plugin/mock_browser_plugin_manager.h"
-#include "content/renderer/render_view_impl.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "third_party/WebKit/public/platform/WebSize.h"
-#include "third_party/WebKit/public/web/WebView.h"
-
-class RenderThreadImpl;
-
-namespace content {
-
-class MockBrowserPlugin;
-
-class BrowserPluginTest : public RenderViewTest {
- public:
- BrowserPluginTest();
- virtual ~BrowserPluginTest();
-
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
-
- MockBrowserPluginManager* browser_plugin_manager() const {
- return static_cast<MockBrowserPluginManager*>(
- static_cast<RenderViewImpl*>(view_)->GetBrowserPluginManager());
- }
- std::string ExecuteScriptAndReturnString(const std::string& script);
- int ExecuteScriptAndReturnInt(const std::string& script);
- bool ExecuteScriptAndReturnBool(const std::string& script, bool* result);
- // Returns NULL if there is no plugin.
- MockBrowserPlugin* GetCurrentPlugin();
- // Returns NULL if there is no plugin.
- MockBrowserPlugin* GetCurrentPluginWithAttachParams(
- BrowserPluginHostMsg_Attach_Params* params);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
-
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/browser_plugin/browser_plugin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698