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

Side by Side Diff: remoting/host/desktop_process_main.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/host/desktop_process.cc ('k') | remoting/host/desktop_process_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file implements the Windows service controlling Me2Me host processes 5 // This file implements the Windows service controlling Me2Me host processes
6 // running within user sessions. 6 // running within user sessions.
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 desktop_environment_factory.reset(new Me2MeDesktopEnvironmentFactory( 60 desktop_environment_factory.reset(new Me2MeDesktopEnvironmentFactory(
61 ui_task_runner, 61 ui_task_runner,
62 input_task_runner, 62 input_task_runner,
63 ui_task_runner)); 63 ui_task_runner));
64 #endif // !defined(OS_WIN) 64 #endif // !defined(OS_WIN)
65 65
66 if (!desktop_process.Start(desktop_environment_factory.Pass())) 66 if (!desktop_process.Start(desktop_environment_factory.Pass()))
67 return kInitializationFailed; 67 return kInitializationFailed;
68 68
69 // Run the UI message loop. 69 // Run the UI message loop.
70 ui_task_runner = NULL; 70 ui_task_runner = nullptr;
71 run_loop.Run(); 71 run_loop.Run();
72 72
73 return kSuccessExitCode; 73 return kSuccessExitCode;
74 } 74 }
75 75
76 } // namespace remoting 76 } // namespace remoting
77 77
78 #if !defined(OS_WIN) 78 #if !defined(OS_WIN)
79 int main(int argc, char** argv) { 79 int main(int argc, char** argv) {
80 return remoting::HostMain(argc, argv); 80 return remoting::HostMain(argc, argv);
81 } 81 }
82 #endif // !defined(OS_WIN) 82 #endif // !defined(OS_WIN)
OLDNEW
« no previous file with comments | « remoting/host/desktop_process.cc ('k') | remoting/host/desktop_process_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698