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

Side by Side Diff: content/worker/worker_webkitplatformsupport_impl.cc

Issue 74043003: Followup cleanup for WebDatabaseObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « content/worker/worker_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/worker/worker_webkitplatformsupport_impl.h" 5 #include "content/worker/worker_webkitplatformsupport_impl.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 sync_message_filter_.get()); 209 sync_message_filter_.get());
210 } 210 }
211 211
212 blink::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() { 212 blink::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() {
213 if (!web_idb_factory_) 213 if (!web_idb_factory_)
214 web_idb_factory_.reset( 214 web_idb_factory_.reset(
215 new RendererWebIDBFactoryImpl(thread_safe_sender_.get())); 215 new RendererWebIDBFactoryImpl(thread_safe_sender_.get()));
216 return web_idb_factory_.get(); 216 return web_idb_factory_.get();
217 } 217 }
218 218
219 blink::WebPlatformDatabaseObserver* 219 blink::WebDatabaseObserver*
220 WorkerWebKitPlatformSupportImpl::databaseObserver() { 220 WorkerWebKitPlatformSupportImpl::databaseObserver() {
221 return web_database_observer_impl_.get(); 221 return web_database_observer_impl_.get();
222 } 222 }
223 223
224 WebMimeRegistry::SupportsType 224 WebMimeRegistry::SupportsType
225 WorkerWebKitPlatformSupportImpl::supportsMIMEType( 225 WorkerWebKitPlatformSupportImpl::supportsMIMEType(
226 const WebString&) { 226 const WebString&) {
227 return WebMimeRegistry::IsSupported; 227 return WebMimeRegistry::IsSupported;
228 } 228 }
229 229
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 return; 298 return;
299 QuotaDispatcher::ThreadSpecificInstance( 299 QuotaDispatcher::ThreadSpecificInstance(
300 thread_safe_sender_.get(), 300 thread_safe_sender_.get(),
301 quota_message_filter_.get())->QueryStorageUsageAndQuota( 301 quota_message_filter_.get())->QueryStorageUsageAndQuota(
302 storage_partition, 302 storage_partition,
303 static_cast<quota::StorageType>(type), 303 static_cast<quota::StorageType>(type),
304 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); 304 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks));
305 } 305 }
306 306
307 } // namespace content 307 } // namespace content
OLDNEW
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698