| Index: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| similarity index 67%
|
| copy from third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js
|
| copy to third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| index 6b024e7b3bb3d6475ecfb850330fec856ef2013c..d18cef975b6d7ec48b1903747dc1241778c4406f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2014 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 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
|
| @@ -26,35 +26,30 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -/**
|
| - * @interface
|
| - */
|
| -WebInspector.AuditCategory = function()
|
| +#include "modules/indexeddb/WebIDBObserverImpl.h"
|
| +
|
| +#include "core/dom/DOMException.h"
|
| +#include "modules/indexeddb/IDBObserver.h"
|
| +#include "platform/SharedBuffer.h"
|
| +#include "public/platform/modules/indexeddb/WebIDBDatabase.h"
|
| +
|
| +using blink::WebIDBDatabase;
|
| +
|
| +namespace blink {
|
| +
|
| +// static
|
| +PassOwnPtr<WebIDBObserverImpl> WebIDBObserverImpl::create(IDBObserver* observer)
|
| {
|
| + return adoptPtr(new WebIDBObserverImpl(observer));
|
| }
|
|
|
| -WebInspector.AuditCategory.prototype = {
|
| - /**
|
| - * @return {string}
|
| - */
|
| - get id()
|
| - {
|
| - },
|
| -
|
| - /**
|
| - * @return {string}
|
| - */
|
| - get displayName()
|
| - {
|
| - },
|
| -
|
| - /**
|
| - * @param {!WebInspector.Target} target
|
| - * @param {!Array.<!WebInspector.NetworkRequest>} requests
|
| - * @param {function(!WebInspector.AuditRuleResult)} ruleResultCallback
|
| - * @param {!WebInspector.Progress} progress
|
| - */
|
| - run: function(target, requests, ruleResultCallback, progress)
|
| - {
|
| - }
|
| +WebIDBObserverImpl::WebIDBObserverImpl(IDBObserver* observer)
|
| + : m_observer(observer)
|
| +{
|
| }
|
| +
|
| +WebIDBObserverImpl::~WebIDBObserverImpl()
|
| +{
|
| +}
|
| +
|
| +} // namespace blink
|
|
|