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

Side by Side Diff: mojo/apps/js/bindings/threading.cc

Issue 189453003: Moves around mojo js bindings code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/apps/js/bindings/support.cc ('k') | mojo/apps/js/bindings/waiting_callback.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/apps/js/bindings/threading.h" 5 #include "mojo/apps/js/bindings/threading.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "gin/object_template_builder.h" 8 #include "gin/object_template_builder.h"
9 #include "gin/per_isolate_data.h" 9 #include "gin/per_isolate_data.h"
10 #include "mojo/apps/js/bindings/handle.h" 10 #include "mojo/bindings/js/handle.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace apps { 13 namespace apps {
14 14
15 namespace { 15 namespace {
16 16
17 void Quit() { 17 void Quit() {
18 base::MessageLoop::current()->QuitNow(); 18 base::MessageLoop::current()->QuitNow();
19 } 19 }
20 20
(...skipping 17 matching lines...) Expand all
38 } 38 }
39 39
40 return templ->NewInstance(); 40 return templ->NewInstance();
41 } 41 }
42 42
43 Threading::Threading() { 43 Threading::Threading() {
44 } 44 }
45 45
46 } // namespace apps 46 } // namespace apps
47 } // namespace mojo 47 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/apps/js/bindings/support.cc ('k') | mojo/apps/js/bindings/waiting_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698