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

Side by Side Diff: Source/web/WebIDBKeyRange.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebIDBKeyPath.cpp ('k') | Source/web/WebIDBMetadata.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "public/platform/WebIDBKeyRange.h" 27 #include "public/platform/WebIDBKeyRange.h"
28 28
29 #include "modules/indexeddb/IDBKey.h" 29 #include "modules/indexeddb/IDBKey.h"
30 #include "modules/indexeddb/IDBKeyRange.h" 30 #include "modules/indexeddb/IDBKeyRange.h"
31 #include "public/platform/WebIDBKey.h" 31 #include "public/platform/WebIDBKey.h"
32 32
33 using namespace blink;
34
35 namespace blink { 33 namespace blink {
36 34
37 void WebIDBKeyRange::assign(const WebIDBKeyRange& other) 35 void WebIDBKeyRange::assign(const WebIDBKeyRange& other)
38 { 36 {
39 m_private = other.m_private; 37 m_private = other.m_private;
40 } 38 }
41 39
42 void WebIDBKeyRange::assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen) 40 void WebIDBKeyRange::assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen)
43 { 41 {
44 if (!lower.isValid() && !upper.isValid()) 42 if (!lower.isValid() && !upper.isValid())
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 m_private = value; 84 m_private = value;
87 return *this; 85 return *this;
88 } 86 }
89 87
90 WebIDBKeyRange::operator IDBKeyRange*() const 88 WebIDBKeyRange::operator IDBKeyRange*() const
91 { 89 {
92 return m_private.get(); 90 return m_private.get();
93 } 91 }
94 92
95 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebIDBKeyPath.cpp ('k') | Source/web/WebIDBMetadata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698