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

Unified Diff: chrome/browser/plugin_data_remover_browsertest.cc

Issue 7664018: Remove string from BrowserProcess interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/browser_process.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_data_remover_browsertest.cc
diff --git a/chrome/browser/plugin_data_remover_browsertest.cc b/chrome/browser/plugin_data_remover_browsertest.cc
index fcf8038eafc605f1b86e37e095f52a229c3138bb..43fbcbe6e4ddd5b91da933b32767a8808c4f4655 100644
--- a/chrome/browser/plugin_data_remover_browsertest.cc
+++ b/chrome/browser/plugin_data_remover_browsertest.cc
@@ -26,18 +26,6 @@ class PluginDataRemoverTest : public InProcessBrowserTest,
public:
PluginDataRemoverTest() : InProcessBrowserTest() { }
- virtual void SetUpOnMainThread() {
- old_plugin_data_remover_mime_type_ =
- g_browser_process->plugin_data_remover_mime_type();
- g_browser_process->set_plugin_data_remover_mime_type(
- kNPAPITestPluginMimeType);
- }
-
- virtual void TearDownOnMainThread() {
- g_browser_process->set_plugin_data_remover_mime_type(
- old_plugin_data_remover_mime_type_);
- }
-
virtual void OnWaitableEventSignaled(base::WaitableEvent* waitable_event) {
MessageLoop::current()->Quit();
}
@@ -50,9 +38,6 @@ class PluginDataRemoverTest : public InProcessBrowserTest,
browser_directory.AppendASCII("plugins"));
#endif
}
-
- private:
- std::string old_plugin_data_remover_mime_type_;
};
IN_PROC_BROWSER_TEST_F(PluginDataRemoverTest, RemoveData) {
« no previous file with comments | « chrome/browser/browser_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698