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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBOpenRequestObserver.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IDBOpenRequestObserver_h
6 #define IDBOpenRequestObserver_h
7
8 #include "mojo/public/cpp/bindings/strong_binding.h"
9 #include "third_party/WebKit/public/platform/modules/indexeddb/indexed_db.mojom- blink.h"
10
11 namespace indexed_db {
12 namespace mojom {
13 namespace blink {
14
15 class IDBOpenRequestObserverImpl : public mojom::blink::OpenRequestObserver {
16 public:
17 static OpenRequestObserverPtr Create();
18
19 private:
20 ~IDBOpenRequestObserverImpl();
21
22 void Blocked(int64_t oldVersion);
23
24 void UpgradeNeeded(int64_t oldVersion, DatabasePtr, DatabaseMetadataPtr, Dat aLossInfoPtr);
25
26 mojo::StrongBinding<mojom::blink::IDBOpenRequestObserverImpl> m_binding;
27
28 DISALLOW_COPY_AND_ASSIGN(IDBOpenRequestObserverImpl);
29 };
30
31 } // namespace blink
32 } // namespace mojom
33 } // namespace indexed_db
34
35 #endif // IDBOpenRequestObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698