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

Side by Side Diff: Source/web/WebIDBCallbacksImpl.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/web/WebIDBCallbacksImpl.h ('k') | Source/web/WebIDBDatabaseCallbacksImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 #include "public/platform/WebIDBKey.h" 33 #include "public/platform/WebIDBKey.h"
34 #include "IDBCursorBackendProxy.h" 34 #include "IDBCursorBackendProxy.h"
35 #include "IDBDatabaseBackendProxy.h" 35 #include "IDBDatabaseBackendProxy.h"
36 #include "core/dom/DOMError.h" 36 #include "core/dom/DOMError.h"
37 #include "modules/indexeddb/IDBCallbacks.h" 37 #include "modules/indexeddb/IDBCallbacks.h"
38 #include "modules/indexeddb/IDBKey.h" 38 #include "modules/indexeddb/IDBKey.h"
39 #include "modules/indexeddb/IDBMetadata.h" 39 #include "modules/indexeddb/IDBMetadata.h"
40 40
41 using namespace WebCore; 41 using namespace WebCore;
42 42
43 namespace WebKit { 43 namespace blink {
44 44
45 WebIDBCallbacksImpl::WebIDBCallbacksImpl(PassRefPtr<IDBCallbacks> callbacks) 45 WebIDBCallbacksImpl::WebIDBCallbacksImpl(PassRefPtr<IDBCallbacks> callbacks)
46 : m_callbacks(callbacks) 46 : m_callbacks(callbacks)
47 { 47 {
48 } 48 }
49 49
50 WebIDBCallbacksImpl::~WebIDBCallbacksImpl() 50 WebIDBCallbacksImpl::~WebIDBCallbacksImpl()
51 { 51 {
52 } 52 }
53 53
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 { 113 {
114 m_callbacks->onBlocked(oldVersion); 114 m_callbacks->onBlocked(oldVersion);
115 } 115 }
116 116
117 void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion, WebIDBDatabase* database, const WebIDBMetadata& metadata, DataLoss dataLoss, WebString dataLossM essage) 117 void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion, WebIDBDatabase* database, const WebIDBMetadata& metadata, DataLoss dataLoss, WebString dataLossM essage)
118 { 118 {
119 m_databaseProxy = IDBDatabaseBackendProxy::create(adoptPtr(database)); 119 m_databaseProxy = IDBDatabaseBackendProxy::create(adoptPtr(database));
120 m_callbacks->onUpgradeNeeded(oldVersion, m_databaseProxy, metadata, dataLoss , dataLossMessage); 120 m_callbacks->onUpgradeNeeded(oldVersion, m_databaseProxy, metadata, dataLoss , dataLossMessage);
121 } 121 }
122 122
123 } // namespace WebKit 123 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebIDBCallbacksImpl.h ('k') | Source/web/WebIDBDatabaseCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698