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

Side by Side Diff: services/shell/public/cpp/lib/message_loop_ref.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "mojo/shell/public/cpp/message_loop_ref.h" 5 #include "services/shell/public/cpp/message_loop_ref.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 11
12 class MessageLoopRefImpl : public MessageLoopRef { 12 class MessageLoopRefImpl : public MessageLoopRef {
13 public: 13 public:
14 MessageLoopRefImpl( 14 MessageLoopRefImpl(
15 MessageLoopRefFactory* factory, 15 MessageLoopRefFactory* factory,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 if (!quit_closure_.is_null()) 89 if (!quit_closure_.is_null())
90 quit_closure_.Run(); 90 quit_closure_.Run();
91 if (base::MessageLoop::current() && 91 if (base::MessageLoop::current() &&
92 base::MessageLoop::current()->is_running()) { 92 base::MessageLoop::current()->is_running()) {
93 base::MessageLoop::current()->QuitWhenIdle(); 93 base::MessageLoop::current()->QuitWhenIdle();
94 } 94 }
95 } 95 }
96 } 96 }
97 97
98 } // namespace mojo 98 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/interface_registry.cc ('k') | services/shell/public/cpp/lib/names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698