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

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

Issue 1133153002: Move Indexed DB Blink API headers to public/platform/modules/indexeddb (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_key_range.h" 5 #include "content/common/indexed_db/indexed_db_key_range.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/public/platform/WebIDBTypes.h" 8 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 IndexedDBKeyRange::IndexedDBKeyRange() = default; 12 IndexedDBKeyRange::IndexedDBKeyRange() = default;
13 13
14 IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKey& lower, 14 IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKey& lower,
15 const IndexedDBKey& upper, 15 const IndexedDBKey& upper,
16 bool lower_open, 16 bool lower_open,
17 bool upper_open) 17 bool upper_open)
18 : lower_(lower), 18 : lower_(lower),
(...skipping 11 matching lines...) Expand all
30 const IndexedDBKeyRange& other) = default; 30 const IndexedDBKeyRange& other) = default;
31 31
32 bool IndexedDBKeyRange::IsOnlyKey() const { 32 bool IndexedDBKeyRange::IsOnlyKey() const {
33 if (lower_open_ || upper_open_) 33 if (lower_open_ || upper_open_)
34 return false; 34 return false;
35 35
36 return lower_.Equals(upper_); 36 return lower_.Equals(upper_);
37 } 37 }
38 38
39 } // namespace content 39 } // namespace content
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key_path.h ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698