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

Side by Side Diff: content/public/test/browser_side_navigation_test_utils.cc

Issue 2296483002: Fix some unit_tests under PlzNavigate (Closed)
Patch Set: not in public interface Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/test/browser_side_navigation_test_utils.h" 5 #include "content/public/test/browser_side_navigation_test_utils.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/guid.h" 8 #include "base/guid.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/browser/streams/stream.h" 11 #include "content/browser/streams/stream.h"
12 #include "content/browser/streams/stream_registry.h" 12 #include "content/browser/streams/stream_registry.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/stream_handle.h" 14 #include "content/public/browser/stream_handle.h"
15 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 stream->Finalize(); 65 stream->Finalize();
66 return stream->CreateHandle(); 66 return stream->CreateHandle();
67 } 67 }
68 68
69 void EnableBrowserSideNavigation() { 69 void EnableBrowserSideNavigation() {
70 base::CommandLine::ForCurrentProcess()->AppendSwitch( 70 base::CommandLine::ForCurrentProcess()->AppendSwitch(
71 switches::kEnableBrowserSideNavigation); 71 switches::kEnableBrowserSideNavigation);
72 } 72 }
73 73
74 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/browser_side_navigation_test_utils.h ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698