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

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

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 197 }
198 198
199 long long WorkerWebKitPlatformSupportImpl::databaseGetSpaceAvailableForOrigin( 199 long long WorkerWebKitPlatformSupportImpl::databaseGetSpaceAvailableForOrigin(
200 const WebString& origin_identifier) { 200 const WebString& origin_identifier) {
201 return DatabaseUtil::DatabaseGetSpaceAvailable(origin_identifier, 201 return DatabaseUtil::DatabaseGetSpaceAvailable(origin_identifier,
202 sync_message_filter_.get()); 202 sync_message_filter_.get());
203 } 203 }
204 204
205 WebKit::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() { 205 WebKit::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() {
206 if (!web_idb_factory_) 206 if (!web_idb_factory_)
207 web_idb_factory_.reset(new RendererWebIDBFactoryImpl(thread_safe_sender_)); 207 web_idb_factory_.reset(
208 new RendererWebIDBFactoryImpl(thread_safe_sender_.get()));
208 return web_idb_factory_.get(); 209 return web_idb_factory_.get();
209 } 210 }
210 211
211 WebMimeRegistry::SupportsType 212 WebMimeRegistry::SupportsType
212 WorkerWebKitPlatformSupportImpl::supportsMIMEType( 213 WorkerWebKitPlatformSupportImpl::supportsMIMEType(
213 const WebString&) { 214 const WebString&) {
214 return WebMimeRegistry::IsSupported; 215 return WebMimeRegistry::IsSupported;
215 } 216 }
216 217
217 WebMimeRegistry::SupportsType 218 WebMimeRegistry::SupportsType
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 return base::FilePath(file_extension).AsUTF16Unsafe(); 290 return base::FilePath(file_extension).AsUTF16Unsafe();
290 } 291 }
291 292
292 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { 293 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() {
293 if (!blob_registry_.get() && thread_safe_sender_.get()) 294 if (!blob_registry_.get() && thread_safe_sender_.get())
294 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_.get())); 295 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_.get()));
295 return blob_registry_.get(); 296 return blob_registry_.get();
296 } 297 }
297 298
298 } // namespace content 299 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | net/cert/cert_verify_proc_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698