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

Side by Side Diff: content/ppapi_plugin/ppapi_blink_platform_impl.cc

Issue 2831033002: Use unique_ptr for Platform::CreateURLLoader (Closed)
Patch Set: Created 3 years, 8 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
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/ppapi_plugin/ppapi_blink_platform_impl.h" 5 #include "content/ppapi_plugin/ppapi_blink_platform_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 blink::WebString PpapiBlinkPlatformImpl::DefaultLocale() { 199 blink::WebString PpapiBlinkPlatformImpl::DefaultLocale() {
200 return blink::WebString::FromUTF8("en"); 200 return blink::WebString::FromUTF8("en");
201 } 201 }
202 202
203 blink::WebThemeEngine* PpapiBlinkPlatformImpl::ThemeEngine() { 203 blink::WebThemeEngine* PpapiBlinkPlatformImpl::ThemeEngine() {
204 NOTREACHED(); 204 NOTREACHED();
205 return NULL; 205 return NULL;
206 } 206 }
207 207
208 blink::WebURLLoader* PpapiBlinkPlatformImpl::CreateURLLoader() { 208 std::unique_ptr<blink::WebURLLoader> PpapiBlinkPlatformImpl::CreateURLLoader() {
209 NOTREACHED(); 209 NOTREACHED();
210 return NULL; 210 return NULL;
211 } 211 }
212 212
213 void PpapiBlinkPlatformImpl::GetPluginList( 213 void PpapiBlinkPlatformImpl::GetPluginList(
214 bool refresh, 214 bool refresh,
215 const blink::WebSecurityOrigin& mainFrameOrigin, 215 const blink::WebSecurityOrigin& mainFrameOrigin,
216 blink::WebPluginListBuilder* builder) { 216 blink::WebPluginListBuilder* builder) {
217 NOTREACHED(); 217 NOTREACHED();
218 } 218 }
(...skipping 20 matching lines...) Expand all
239 } 239 }
240 240
241 int PpapiBlinkPlatformImpl::DatabaseDeleteFile( 241 int PpapiBlinkPlatformImpl::DatabaseDeleteFile(
242 const blink::WebString& vfs_file_name, 242 const blink::WebString& vfs_file_name,
243 bool sync_dir) { 243 bool sync_dir) {
244 NOTREACHED(); 244 NOTREACHED();
245 return 0; 245 return 0;
246 } 246 }
247 247
248 } // namespace content 248 } // namespace content
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_blink_platform_impl.h ('k') | content/renderer/fetchers/resource_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698