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

Side by Side Diff: content/common/indexed_db/indexed_db_struct_traits.cc

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)
Patch Set: Created 3 years, 10 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 "content/common/indexed_db/indexed_db_struct_traits.h" 5 #include "content/common/indexed_db/indexed_db_struct_traits.h"
6
7 #include "base/stl_util.h"
6 #include "mojo/common/common_custom_types_struct_traits.h" 8 #include "mojo/common/common_custom_types_struct_traits.h"
7 9
8 using content::IndexedDBKey; 10 using content::IndexedDBKey;
9 using content::IndexedDBKeyPath; 11 using content::IndexedDBKeyPath;
10 using content::IndexedDBKeyRange; 12 using content::IndexedDBKeyRange;
11 using indexed_db::mojom::CursorDirection; 13 using indexed_db::mojom::CursorDirection;
12 using indexed_db::mojom::DataLoss; 14 using indexed_db::mojom::DataLoss;
13 using indexed_db::mojom::OperationType; 15 using indexed_db::mojom::OperationType;
14 using indexed_db::mojom::PutMode; 16 using indexed_db::mojom::PutMode;
15 using indexed_db::mojom::TaskType; 17 using indexed_db::mojom::TaskType;
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 case TransactionMode::ReadWrite: 441 case TransactionMode::ReadWrite:
440 *output = blink::WebIDBTransactionModeReadWrite; 442 *output = blink::WebIDBTransactionModeReadWrite;
441 return true; 443 return true;
442 case TransactionMode::VersionChange: 444 case TransactionMode::VersionChange:
443 *output = blink::WebIDBTransactionModeVersionChange; 445 *output = blink::WebIDBTransactionModeVersionChange;
444 return true; 446 return true;
445 } 447 }
446 return false; 448 return false;
447 } 449 }
448 } // namespace mojo 450 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698