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

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

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
(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 IDBStructTraits_h
6 #define IDBStructTraits_h
7
8 #include "Source/modules/indexeddb/indexed_db.mojom-blink.h"
9 #include "public/platform/modules/indexeddb/WebIDBTypes.h"
10
11 namespace mojo {
12
13 template <>
14 struct EnumTraits<indexed_db::mojom::blink::DataLoss, blink::WebIDBDataLoss> {
15 static indexed_db::mojom::blink::DataLoss ToMojom(blink::WebIDBDataLoss inpu t);
16 static bool FromMojom(indexed_db::mojom::blink::DataLoss input,
17 blink::WebIDBDataLoss* output);
18 };
19
20 // TODO(cmumford): Can't include IDBKey.h - does v8 stuff.
21
22 // TODO(cmumford): Looks like can't map to metadata because it has a
23 // IDBKeyPath which depends on V8 :-(.
24
25 } // namespace mojo
26
27 #endif // IDBStructTraits_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698