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

Side by Side Diff: headless/lib/browser/headless_browser_impl.cc

Issue 1967813003: Fix include path for moved thread_task_runner_handle.h header in headless/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "headless/lib/browser/headless_browser_impl.h" 5 #include "headless/lib/browser/headless_browser_impl.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "content/public/app/content_main.h" 9 #include "content/public/app/content_main.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "headless/lib/browser/headless_browser_context.h" 12 #include "headless/lib/browser/headless_browser_context.h"
13 #include "headless/lib/browser/headless_browser_main_parts.h" 13 #include "headless/lib/browser/headless_browser_main_parts.h"
14 #include "headless/lib/browser/headless_web_contents_impl.h" 14 #include "headless/lib/browser/headless_web_contents_impl.h"
15 #include "headless/lib/browser/headless_window_tree_client.h" 15 #include "headless/lib/browser/headless_window_tree_client.h"
16 #include "headless/lib/headless_content_main_delegate.h" 16 #include "headless/lib/headless_content_main_delegate.h"
17 #include "ui/aura/env.h" 17 #include "ui/aura/env.h"
18 #include "ui/aura/window_tree_host.h" 18 #include "ui/aura/window_tree_host.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 DCHECK(!options.message_pump); 127 DCHECK(!options.message_pump);
128 128
129 headless::HeadlessContentMainDelegate delegate(std::move(browser)); 129 headless::HeadlessContentMainDelegate delegate(std::move(browser));
130 content::ContentMainParams params(&delegate); 130 content::ContentMainParams params(&delegate);
131 params.argc = options.argc; 131 params.argc = options.argc;
132 params.argv = options.argv; 132 params.argv = options.argv;
133 return content::ContentMain(params); 133 return content::ContentMain(params);
134 } 134 }
135 135
136 } // namespace headless 136 } // namespace headless
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698