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

Unified Diff: content/common/indexed_db_key.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.cc ('k') | content/common/indexed_db_key.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db_key.h
diff --git a/content/common/indexed_db_key.h b/content/common/indexed_db_key.h
deleted file mode 100644
index 93daf7c5cd3e8265def68588b67494150fe0d71f..0000000000000000000000000000000000000000
--- a/content/common/indexed_db_key.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2011 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 CONTENT_COMMON_INDEXED_DB_KEY_H_
-#define CONTENT_COMMON_INDEXED_DB_KEY_H_
-#pragma once
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/string16.h"
-#include "content/common/content_export.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
-
-class CONTENT_EXPORT IndexedDBKey {
- public:
- IndexedDBKey(); // Defaults to WebKit::WebIDBKey::InvalidType.
- explicit IndexedDBKey(const WebKit::WebIDBKey& key);
- ~IndexedDBKey();
-
- void SetInvalid();
- void SetArray(const std::vector<IndexedDBKey>& array);
- 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 std::vector<IndexedDBKey>& array() const { return array_; }
- 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_;
- std::vector<IndexedDBKey> array_;
- string16 string_;
- double date_;
- double number_;
-};
-
-#endif // CONTENT_COMMON_INDEXED_DB_KEY_H_
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.cc ('k') | content/common/indexed_db_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698