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

Side by Side Diff: mojo/public/cpp/bindings/callback.h

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/cpp/bindings/array.h ('k') | mojo/public/cpp/bindings/callback.h.pump » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file was GENERATED by command: 1 // This file was GENERATED by command:
2 // pump.py callback.h.pump 2 // pump.py callback.h.pump
3 // DO NOT EDIT BY HAND!!! 3 // DO NOT EDIT BY HAND!!!
4 4
5 5
6 6
7 // Copyright 2014 The Chromium Authors. All rights reserved. 7 // Copyright 2014 The Chromium Authors. All rights reserved.
8 // Use of this source code is governed by a BSD-style license that can be 8 // Use of this source code is governed by a BSD-style license that can be
9 // found in the LICENSE file. 9 // found in the LICENSE file.
10 10
11 #ifndef MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 11 #ifndef MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
12 #define MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 12 #define MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
13 13
14 #include "mojo/public/bindings/lib/callback_internal.h" 14 #include "mojo/public/cpp/bindings/lib/callback_internal.h"
15 #include "mojo/public/bindings/lib/shared_ptr.h" 15 #include "mojo/public/cpp/bindings/lib/shared_ptr.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 18
19 template <typename Sig> 19 template <typename Sig>
20 class Callback; 20 class Callback;
21 21
22 template <> 22 template <>
23 class Callback<void()> { 23 class Callback<void()> {
24 public: 24 public:
25 struct Runnable { 25 struct Runnable {
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 } 452 }
453 Sink sink; 453 Sink sink;
454 }; 454 };
455 455
456 internal::SharedPtr<Runnable> sink_; 456 internal::SharedPtr<Runnable> sink_;
457 }; 457 };
458 458
459 } // namespace mojo 459 } // namespace mojo
460 460
461 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 461 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/array.h ('k') | mojo/public/cpp/bindings/callback.h.pump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698