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

Side by Side Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Minor bugs fixed Created 4 years, 5 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 // This class makes the blink::IDBObserver visible to the content layer by holdi ng a reference to it. 5 // This class makes the blink::IDBObserver visible to the content layer by holdi ng a reference to it.
6 6
7 #ifndef WebIDBObserver_h 7 #ifndef WebIDBObserver_h
8 #define WebIDBObserver_h 8 #define WebIDBObserver_h
9 9
10 #include <vector>
11
10 namespace blink { 12 namespace blink {
11 13
14 struct WebIDBObservation;
15
12 class WebIDBObserver { 16 class WebIDBObserver {
13 public: 17 public:
14 virtual ~WebIDBObserver() {} 18 virtual ~WebIDBObserver() {}
19
20 virtual bool transaction() = 0;
21 virtual bool noRecords() = 0;
22 virtual bool values() = 0;
23 virtual void onChange(const std::vector<WebIDBObservation>&, std::vector<int 32_t> observationIndex) = 0;
jsbell 2016/07/14 20:08:14 These need to be WebVector
palakj1 2016/07/15 20:16:05 changed.
15 }; 24 };
16 25
17 } // namespace blink 26 } // namespace blink
18 27
19 #endif // WebIDBObserver_h 28 #endif // WebIDBObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698