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

Side by Side Diff: third_party/mojo/src/mojo/edk/js/waiting_callback.cc

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/edk/js/waiting_callback.h" 5 #include "mojo/edk/js/waiting_callback.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 #include "gin/per_context_data.h" 9 #include "gin/per_context_data.h"
10 #include "mojo/public/cpp/environment/environment.h" 10 #include "mojo/public/cpp/environment/environment.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // ClearWaitId explicitly, and CallCallback asynchronously. 106 // ClearWaitId explicitly, and CallCallback asynchronously.
107 ClearWaitId(); 107 ClearWaitId();
108 base::MessageLoop::current()->PostTask( 108 base::MessageLoop::current()->PostTask(
109 FROM_HERE, 109 FROM_HERE,
110 base::Bind(&WaitingCallback::CallCallback, weak_factory_.GetWeakPtr(), 110 base::Bind(&WaitingCallback::CallCallback, weak_factory_.GetWeakPtr(),
111 MOJO_RESULT_INVALID_ARGUMENT)); 111 MOJO_RESULT_INVALID_ARGUMENT));
112 } 112 }
113 113
114 } // namespace js 114 } // namespace js
115 } // namespace mojo 115 } // namespace mojo
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/js/waiting_callback.h ('k') | third_party/mojo/src/mojo/edk/mojo_edk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698