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

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

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/common/indexed_db_key.h" 5 #include "content/common/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/WebString.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
9 9
10 using WebKit::WebIDBKey; 10 using WebKit::WebIDBKey;
11 11
12 IndexedDBKey::IndexedDBKey() 12 IndexedDBKey::IndexedDBKey()
13 : type_(WebIDBKey::InvalidType), 13 : type_(WebIDBKey::InvalidType),
14 date_(0), 14 date_(0),
15 number_(0) { 15 number_(0) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 case WebIDBKey::DateType: 62 case WebIDBKey::DateType:
63 return WebIDBKey::createDate(date_); 63 return WebIDBKey::createDate(date_);
64 case WebIDBKey::NumberType: 64 case WebIDBKey::NumberType:
65 return WebIDBKey::createNumber(number_); 65 return WebIDBKey::createNumber(number_);
66 case WebIDBKey::InvalidType: 66 case WebIDBKey::InvalidType:
67 return WebIDBKey::createInvalid(); 67 return WebIDBKey::createInvalid();
68 } 68 }
69 NOTREACHED(); 69 NOTREACHED();
70 return WebIDBKey::createInvalid(); 70 return WebIDBKey::createInvalid();
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698