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

Side by Side Diff: Source/web/WebIDBKey.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/WebIDBDatabaseError.cpp ('k') | Source/web/WebIDBKeyPath.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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 12 matching lines...) Expand all
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "public/platform/WebIDBKey.h" 29 #include "public/platform/WebIDBKey.h"
30 30
31 #include "modules/indexeddb/IDBKey.h" 31 #include "modules/indexeddb/IDBKey.h"
32 32
33 using namespace blink;
34
35 namespace blink { 33 namespace blink {
36 34
37 WebIDBKey WebIDBKey::createArray(const WebVector<WebIDBKey>& array) 35 WebIDBKey WebIDBKey::createArray(const WebVector<WebIDBKey>& array)
38 { 36 {
39 WebIDBKey key; 37 WebIDBKey key;
40 key.assignArray(array); 38 key.assignArray(array);
41 return key; 39 return key;
42 } 40 }
43 41
44 WebIDBKey WebIDBKey::createBinary(const WebData& binary) 42 WebIDBKey WebIDBKey::createBinary(const WebData& binary)
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 m_private = value; 244 m_private = value;
247 return *this; 245 return *this;
248 } 246 }
249 247
250 WebIDBKey::operator IDBKey*() const 248 WebIDBKey::operator IDBKey*() const
251 { 249 {
252 return m_private.get(); 250 return m_private.get();
253 } 251 }
254 252
255 } // namespace blink 253 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebIDBDatabaseError.cpp ('k') | Source/web/WebIDBKeyPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698