| Index: sky/engine/bindings-dart/common/DeleteResult.h
|
| diff --git a/sky/engine/core/inspector/InspectorCounters.cpp b/sky/engine/bindings-dart/common/DeleteResult.h
|
| similarity index 80%
|
| copy from sky/engine/core/inspector/InspectorCounters.cpp
|
| copy to sky/engine/bindings-dart/common/DeleteResult.h
|
| index 6c3aec801a29bb77c6c3932c7dc8baec12d81a74..1b6f18377a3ab6a8099f1d105dc5518fc2280149 100644
|
| --- a/sky/engine/core/inspector/InspectorCounters.cpp
|
| +++ b/sky/engine/bindings-dart/common/DeleteResult.h
|
| @@ -1,5 +1,6 @@
|
| /*
|
| -* Copyright (C) 2012 Google Inc. All rights reserved.
|
| +* Copyright (C) 2009 Google Inc. All rights reserved.
|
| +* Copyright (C) 2012 Ericsson AB. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -28,17 +29,19 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "sky/engine/config.h"
|
| -#include "sky/engine/core/inspector/InspectorCounters.h"
|
| +#ifndef DeleteResult_h
|
| +#define DeleteResult_h
|
|
|
| namespace blink {
|
|
|
| -int InspectorCounters::s_counters[CounterTypeLength];
|
| -
|
| -int InspectorCounters::counterValue(CounterType type)
|
| -{
|
| - return s_counters[type];
|
| -}
|
| +// Result values for platform object 'deleter' methods,
|
| +// http://www.w3.org/TR/WebIDL/#delete
|
| +enum DeleteResult {
|
| + DeleteSuccess,
|
| + DeleteReject,
|
| + DeleteUnknownProperty
|
| +};
|
|
|
| } // namespace blink
|
|
|
| +#endif // DeleteResult_h
|
|
|