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

Side by Side Diff: blimp/client/app/linux/blimp_main.cc

Issue 1968113002: Fix include path for moved thread_task_runner_handle.h header in blimp/ (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
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 <string> 5 #include <string>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/thread_task_runner_handle.h"
11 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "base/threading/thread_task_runner_handle.h"
12 #include "blimp/client/app/blimp_startup.h" 12 #include "blimp/client/app/blimp_startup.h"
13 #include "blimp/client/app/linux/blimp_client_session_linux.h" 13 #include "blimp/client/app/linux/blimp_client_session_linux.h"
14 #include "blimp/client/feature/navigation_feature.h" 14 #include "blimp/client/feature/navigation_feature.h"
15 #include "blimp/client/feature/tab_control_feature.h" 15 #include "blimp/client/feature/tab_control_feature.h"
16 #include "blimp/client/session/assignment_source.h" 16 #include "blimp/client/session/assignment_source.h"
17 #include "ui/gfx/x/x11_connection.h" 17 #include "ui/gfx/x/x11_connection.h"
18 18
19 namespace { 19 namespace {
20 const char kDummyLoginToken[] = ""; 20 const char kDummyLoginToken[] = "";
21 const char kDefaultUrl[] = "https://www.google.com"; 21 const char kDefaultUrl[] = "https://www.google.com";
(...skipping 14 matching lines...) Expand all
36 session.Connect(kDummyLoginToken); 36 session.Connect(kDummyLoginToken);
37 37
38 // If there is a non-switch argument to the command line, load that url. 38 // If there is a non-switch argument to the command line, load that url.
39 base::CommandLine::StringVector args = 39 base::CommandLine::StringVector args =
40 base::CommandLine::ForCurrentProcess()->GetArgs(); 40 base::CommandLine::ForCurrentProcess()->GetArgs();
41 std::string url = args.size() > 0 ? args[0] : kDefaultUrl; 41 std::string url = args.size() > 0 ? args[0] : kDefaultUrl;
42 session.GetNavigationFeature()->NavigateToUrlText(kDummyTabId, url); 42 session.GetNavigationFeature()->NavigateToUrlText(kDummyTabId, url);
43 43
44 base::RunLoop().Run(); 44 base::RunLoop().Run();
45 } 45 }
OLDNEW
« no previous file with comments | « blimp/client/app/android/blimp_client_session_android.cc ('k') | blimp/client/feature/compositor/blimp_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698