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

Unified Diff: chrome/common/indexed_db_key.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/indexed_db_key.h
===================================================================
--- chrome/common/indexed_db_key.h (revision 78395)
+++ chrome/common/indexed_db_key.h (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_INDEXED_DB_KEY_H_
-#define CHROME_COMMON_INDEXED_DB_KEY_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/string16.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
-
-class IndexedDBKey {
- public:
- IndexedDBKey(); // Defaults to WebKit::WebIDBKey::InvalidType.
- explicit IndexedDBKey(const WebKit::WebIDBKey& key);
- ~IndexedDBKey();
-
- void SetNull();
- void SetInvalid();
- void SetString(const string16& string);
- void SetDate(double date);
- void SetNumber(double number);
- void Set(const WebKit::WebIDBKey& key);
-
- WebKit::WebIDBKey::Type type() const { return type_; }
- const string16& string() const { return string_; }
- double date() const { return date_; }
- double number() const { return number_; }
-
- operator WebKit::WebIDBKey() const;
-
- private:
- WebKit::WebIDBKey::Type type_;
- string16 string_;
- double date_;
- double number_;
-};
-
-#endif // CHROME_COMMON_INDEXED_DB_KEY_H_

Powered by Google App Engine
This is Rietveld 408576698