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

Unified Diff: content/browser/indexed_db/indexed_db_database_error.h

Issue 17915004: IndexedDB: Remove uses of WebKit API types from back-end code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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: content/browser/indexed_db/indexed_db_database_error.h
diff --git a/content/browser/indexed_db/indexed_db_database_error.h b/content/browser/indexed_db/indexed_db_database_error.h
index 3f5eef5e5740ff993f6ee23d87f1b9865a54f585..297bec7be331991ad67a134316588f314197c5cb 100644
--- a/content/browser/indexed_db/indexed_db_database_error.h
+++ b/content/browser/indexed_db/indexed_db_database_error.h
@@ -8,18 +8,17 @@
#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
-#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
namespace content {
class IndexedDBDatabaseError {
public:
+ IndexedDBDatabaseError(uint16 code)
+ : code_(code) {}
IndexedDBDatabaseError(uint16 code, const char* message)
: code_(code), message_(ASCIIToUTF16(message)) {}
IndexedDBDatabaseError(uint16 code, const string16& message)
: code_(code), message_(message) {}
- explicit IndexedDBDatabaseError(const WebKit::WebIDBDatabaseError& other)
- : code_(other.code()), message_(other.message()) {}
~IndexedDBDatabaseError() {}
uint16 code() const { return code_; }

Powered by Google App Engine
This is Rietveld 408576698