| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |