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

Side by Side Diff: content/browser/plugin_data_remover_impl_browsertest.cc

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: remove other files Created 6 years, 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/callback.h" 6 #include "base/callback.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/synchronization/waitable_event_watcher.h" 9 #include "base/synchronization/waitable_event_watcher.h"
10 #include "content/browser/plugin_data_remover_impl.h" 10 #include "content/browser/plugin_data_remover_impl.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "content/public/test/content_browser_test.h"
13 #include "content/public/test/test_utils.h" 14 #include "content/public/test/test_utils.h"
14 #include "content/shell/browser/shell.h" 15 #include "content/shell/browser/shell.h"
15 #include "content/test/content_browser_test.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 namespace { 19 namespace {
20 const char* kNPAPITestPluginMimeType = "application/vnd.npapi-test"; 20 const char* kNPAPITestPluginMimeType = "application/vnd.npapi-test";
21 } 21 }
22 22
23 class PluginDataRemoverTest : public ContentBrowserTest { 23 class PluginDataRemoverTest : public ContentBrowserTest {
24 public: 24 public:
25 PluginDataRemoverTest() {} 25 PluginDataRemoverTest() {}
(...skipping 25 matching lines...) Expand all
51 base::WaitableEventWatcher watcher; 51 base::WaitableEventWatcher watcher;
52 base::WaitableEvent* event = 52 base::WaitableEvent* event =
53 plugin_data_remover.StartRemoving(base::Time()); 53 plugin_data_remover.StartRemoving(base::Time());
54 watcher.StartWatching( 54 watcher.StartWatching(
55 event, 55 event,
56 base::Bind(&PluginDataRemoverTest::OnWaitableEventSignaled, this)); 56 base::Bind(&PluginDataRemoverTest::OnWaitableEventSignaled, this));
57 RunMessageLoop(); 57 RunMessageLoop();
58 } 58 }
59 59
60 } // namespace content 60 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/plugin_browsertest.cc ('k') | content/browser/plugin_service_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698