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

Side by Side Diff: content/browser/tracing/tracing_controller_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/run_loop.h" 6 #include "base/run_loop.h"
7 #include "content/browser/tracing/tracing_controller_impl.h" 7 #include "content/browser/tracing/tracing_controller_impl.h"
8 #include "content/public/test/browser_test_utils.h" 8 #include "content/public/test/browser_test_utils.h"
9 #include "content/public/test/content_browser_test.h"
10 #include "content/public/test/content_browser_test_utils.h"
9 #include "content/shell/browser/shell.h" 11 #include "content/shell/browser/shell.h"
10 #include "content/test/content_browser_test.h"
11 #include "content/test/content_browser_test_utils.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class TracingControllerTest : public ContentBrowserTest { 15 class TracingControllerTest : public ContentBrowserTest {
16 public: 16 public:
17 TracingControllerTest() {} 17 TracingControllerTest() {}
18 18
19 virtual void SetUp() OVERRIDE { 19 virtual void SetUp() OVERRIDE {
20 get_categories_done_callback_count_ = 0; 20 get_categories_done_callback_count_ = 0;
21 enable_recording_done_callback_count_ = 0; 21 enable_recording_done_callback_count_ = 0;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 TracingController::EnableMonitoringDoneCallback())); 303 TracingController::EnableMonitoringDoneCallback()));
304 controller->CaptureMonitoringSnapshot( 304 controller->CaptureMonitoringSnapshot(
305 base::FilePath(), TracingController::TracingFileResultCallback()); 305 base::FilePath(), TracingController::TracingFileResultCallback());
306 base::RunLoop().RunUntilIdle(); 306 base::RunLoop().RunUntilIdle();
307 EXPECT_TRUE(controller->DisableMonitoring( 307 EXPECT_TRUE(controller->DisableMonitoring(
308 TracingController::DisableMonitoringDoneCallback())); 308 TracingController::DisableMonitoringDoneCallback()));
309 base::RunLoop().RunUntilIdle(); 309 base::RunLoop().RunUntilIdle();
310 } 310 }
311 311
312 } // namespace content 312 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698