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

Side by Side Diff: third_party/WebKit/Source/core/mojo/MojoWatcher.h

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef MojoWatcher_h 5 #ifndef MojoWatcher_h
6 #define MojoWatcher_h 6 #define MojoWatcher_h
7 7
8 #include "bindings/core/v8/ActiveScriptWrappable.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/core/v8/TraceWrapperMember.h" 9 #include "bindings/core/v8/TraceWrapperMember.h"
11 #include "core/dom/ContextLifecycleObserver.h" 10 #include "core/dom/ContextLifecycleObserver.h"
12 #include "mojo/public/cpp/system/handle.h" 11 #include "mojo/public/cpp/system/handle.h"
13 #include "mojo/public/cpp/system/watcher.h" 12 #include "mojo/public/cpp/system/watcher.h"
13 #include "platform/bindings/ActiveScriptWrappable.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class ExecutionContext; 17 class ExecutionContext;
18 class MojoHandleSignals; 18 class MojoHandleSignals;
19 class MojoWatchCallback; 19 class MojoWatchCallback;
20 20
21 class MojoWatcher final : public GarbageCollectedFinalized<MojoWatcher>, 21 class MojoWatcher final : public GarbageCollectedFinalized<MojoWatcher>,
22 public ActiveScriptWrappable<MojoWatcher>, 22 public ActiveScriptWrappable<MojoWatcher>,
23 public ScriptWrappable, 23 public ScriptWrappable,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 RefPtr<WebTaskRunner> task_runner_; 59 RefPtr<WebTaskRunner> task_runner_;
60 TraceWrapperMember<MojoWatchCallback> callback_; 60 TraceWrapperMember<MojoWatchCallback> callback_;
61 mojo::ScopedWatcherHandle watcher_handle_; 61 mojo::ScopedWatcherHandle watcher_handle_;
62 mojo::Handle handle_; 62 mojo::Handle handle_;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif // MojoWatcher_h 67 #endif // MojoWatcher_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698