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

Side by Side Diff: chromecast/browser/test/cast_browser_test.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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
OLDNEW
1 // Copyright 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 "chromecast/browser/test/cast_browser_test.h" 5 #include "chromecast/browser/test/cast_browser_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ptr_util.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "chromecast/base/chromecast_switches.h" 11 #include "chromecast/base/chromecast_switches.h"
11 #include "chromecast/base/metrics/cast_metrics_helper.h" 12 #include "chromecast/base/metrics/cast_metrics_helper.h"
12 #include "chromecast/browser/cast_browser_context.h" 13 #include "chromecast/browser/cast_browser_context.h"
13 #include "chromecast/browser/cast_browser_process.h" 14 #include "chromecast/browser/cast_browser_process.h"
14 #include "chromecast/browser/cast_content_window.h" 15 #include "chromecast/browser/cast_content_window.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/render_process_host.h" 17 #include "content/public/browser/render_process_host.h"
17 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
18 #include "content/public/common/content_switches.h" 19 #include "content/public/common/content_switches.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 params.transition_type = ui::PageTransitionFromInt( 72 params.transition_type = ui::PageTransitionFromInt(
72 ui::PAGE_TRANSITION_TYPED | ui::PAGE_TRANSITION_FROM_ADDRESS_BAR); 73 ui::PAGE_TRANSITION_TYPED | ui::PAGE_TRANSITION_FROM_ADDRESS_BAR);
73 web_contents_->GetController().LoadURLWithParams(params); 74 web_contents_->GetController().LoadURLWithParams(params);
74 same_tab_observer.Wait(); 75 same_tab_observer.Wait();
75 76
76 return web_contents_.get(); 77 return web_contents_.get();
77 } 78 }
78 79
79 } // namespace shell 80 } // namespace shell
80 } // namespace chromecast 81 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698