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

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

Issue 8980002: Move indexeddb code to its own directory inside of content/{browser,common,renderer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto ToT Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_key.h" 5 #include "content/common/indexed_db/indexed_db_key.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
10 10
11 using WebKit::WebIDBKey; 11 using WebKit::WebIDBKey;
12 12
13 IndexedDBKey::IndexedDBKey() 13 IndexedDBKey::IndexedDBKey()
14 : type_(WebIDBKey::InvalidType), 14 : type_(WebIDBKey::InvalidType),
15 date_(0), 15 date_(0),
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 case WebIDBKey::DateType: 70 case WebIDBKey::DateType:
71 return WebIDBKey::createDate(date_); 71 return WebIDBKey::createDate(date_);
72 case WebIDBKey::NumberType: 72 case WebIDBKey::NumberType:
73 return WebIDBKey::createNumber(number_); 73 return WebIDBKey::createNumber(number_);
74 case WebIDBKey::InvalidType: 74 case WebIDBKey::InvalidType:
75 return WebIDBKey::createInvalid(); 75 return WebIDBKey::createInvalid();
76 } 76 }
77 NOTREACHED(); 77 NOTREACHED();
78 return WebIDBKey::createInvalid(); 78 return WebIDBKey::createInvalid();
79 } 79 }
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key.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