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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBObservation.cpp

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "modules/indexeddb/IDBObservation.h" 5 #include "modules/indexeddb/IDBObservation.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
9 #include "bindings/core/v8/ToV8.h" 9 #include "bindings/core/v8/ToV8.h"
10 #include "bindings/modules/v8/ToV8ForModules.h" 10 #include "bindings/modules/v8/ToV8ForModules.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 } 72 }
73 73
74 IDBObservation* IDBObservation::create(const WebIDBObservation& observation) 74 IDBObservation* IDBObservation::create(const WebIDBObservation& observation)
75 { 75 {
76 return new IDBObservation(observation); 76 return new IDBObservation(observation);
77 } 77 }
78 78
79 IDBObservation::IDBObservation(const WebIDBObservation& observation) 79 IDBObservation::IDBObservation(const WebIDBObservation& observation)
80 : m_keyRange(observation.keyRange) 80 : m_keyRange(observation.keyRange)
81 #if 0
81 , m_value(IDBValue::create(observation.value)) 82 , m_value(IDBValue::create(observation.value))
83 #endif
82 , m_operationType(observation.type) 84 , m_operationType(observation.type)
83 { 85 {
84 } 86 }
85 87
86 DEFINE_TRACE(IDBObservation) 88 DEFINE_TRACE(IDBObservation)
87 { 89 {
88 visitor->trace(m_keyRange); 90 visitor->trace(m_keyRange);
89 } 91 }
90 92
91 } // namespace blink 93 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698