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

Unified Diff: Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.h

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.h
diff --git a/LICENSE b/Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.h
similarity index 69%
copy from LICENSE
copy to Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.h
index 70bcb8ad118978579fa055f7ecc99604930900ce..5ddc65fb55f18841a4b48b3a66d3106d280adba3 100644
--- a/LICENSE
+++ b/Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.h
@@ -1,7 +1,5 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-//
-// The Chromium Authors can be found at
-// http://src.chromium.org/svn/trunk/src/AUTHORS
+// Copyright 2012, Google Inc.
+// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -28,3 +26,27 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#ifndef ThreadSafeDartIsolateWrapper_h
+#define ThreadSafeDartIsolateWrapper_h
+
+#include "bindings/core/dart/DartIsolateDestructionObserver.h"
+
+#include <dart_api.h>
+#include <wtf/RefPtr.h>
+#include <wtf/ThreadSafeRefCounted.h>
+
+namespace blink {
+
+class ThreadSafeDartIsolateWrapper : public ThreadSafeRefCounted<ThreadSafeDartIsolateWrapper>, public DartIsolateDestructionObserver {
+ WTF_MAKE_NONCOPYABLE(ThreadSafeDartIsolateWrapper);
+public:
+ static PassRefPtr<ThreadSafeDartIsolateWrapper> create();
+
+private:
+ ThreadSafeDartIsolateWrapper() { }
+};
+
+}
+
+#endif // ThreadSafeDartIsolateWrapper_h
« no previous file with comments | « Source/bindings/core/dart/DartUtilities.cpp ('k') | Source/bindings/core/dart/ThreadSafeDartIsolateWrapper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698