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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/test/blink_test_environment.cc ('k') | content/test/browser_test_utils_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/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 "content/browser/streams/stream.h" 11 #include "content/browser/streams/stream.h"
11 #include "content/browser/streams/stream_registry.h" 12 #include "content/browser/streams/stream_registry.h"
12 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/stream_handle.h" 14 #include "content/public/browser/stream_handle.h"
14 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
15 #include "content/test/test_navigation_url_loader_factory.h" 16 #include "content/test/test_navigation_url_loader_factory.h"
16 17
17 namespace content { 18 namespace content {
18 19
19 namespace { 20 namespace {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 stream->Finalize(); 65 stream->Finalize();
65 return stream->CreateHandle(); 66 return stream->CreateHandle();
66 } 67 }
67 68
68 void EnableBrowserSideNavigation() { 69 void EnableBrowserSideNavigation() {
69 base::CommandLine::ForCurrentProcess()->AppendSwitch( 70 base::CommandLine::ForCurrentProcess()->AppendSwitch(
70 switches::kEnableBrowserSideNavigation); 71 switches::kEnableBrowserSideNavigation);
71 } 72 }
72 73
73 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/test/blink_test_environment.cc ('k') | content/test/browser_test_utils_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698