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

Unified Diff: sky/engine/bindings2/exception_state.cc

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings2/exception_state.h ('k') | sky/engine/bindings2/exception_state_placeholder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings2/exception_state.cc
diff --git a/sky/engine/bindings2/exception_state.cc b/sky/engine/bindings2/exception_state.cc
deleted file mode 100644
index 3c71fcda242dc13fc6dd1b0d80018971e3b11026..0000000000000000000000000000000000000000
--- a/sky/engine/bindings2/exception_state.cc
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "sky/engine/config.h"
-#include "sky/engine/bindings2/exception_state.h"
-
-namespace blink {
-
-ExceptionState::ExceptionState() : code_(0), had_exception_(false) {
-}
-
-ExceptionState::ExceptionState(Context context,
- const char* propertyName,
- const char* interfaceName) {
-}
-
-ExceptionState::ExceptionState(Context context, const char* interfaceName) {
-}
-
-ExceptionState::~ExceptionState() {
-}
-
-void ExceptionState::ThrowDOMException(const ExceptionCode&,
- const String& message) {
-}
-
-void ExceptionState::ThrowTypeError(const String& message) {
-}
-
-void ExceptionState::ThrowRangeError(const String& message) {
-}
-
-bool ExceptionState::ThrowIfNeeded() {
- return had_exception_;
-}
-
-void ExceptionState::ClearException() {
-}
-
-Dart_Handle ExceptionState::GetDartException(Dart_NativeArguments args,
- bool auto_scope) {
- // TODO(abarth): Still don't understand autoscope.
- DCHECK(auto_scope);
- return exception_.Release();
-}
-
-} // namespace blink
« no previous file with comments | « sky/engine/bindings2/exception_state.h ('k') | sky/engine/bindings2/exception_state_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698