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

Side by Side Diff: content/renderer/pepper/resource_converter.cc

Issue 553983013: Remove storage-related redirect headers in webkit/common/, update #includes and DEPS files to use s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/renderer/pepper/resource_converter.h" 5 #include "content/renderer/pepper/resource_converter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/public/renderer/renderer_ppapi_host.h" 9 #include "content/public/renderer/renderer_ppapi_host.h"
10 #include "content/renderer/pepper/pepper_file_system_host.h" 10 #include "content/renderer/pepper/pepper_file_system_host.h"
11 #include "content/renderer/pepper/pepper_media_stream_audio_track_host.h" 11 #include "content/renderer/pepper/pepper_media_stream_audio_track_host.h"
12 #include "content/renderer/pepper/pepper_media_stream_video_track_host.h" 12 #include "content/renderer/pepper/pepper_media_stream_video_track_host.h"
13 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
14 #include "ppapi/host/ppapi_host.h" 14 #include "ppapi/host/ppapi_host.h"
15 #include "ppapi/host/resource_host.h" 15 #include "ppapi/host/resource_host.h"
16 #include "ppapi/proxy/ppapi_messages.h" 16 #include "ppapi/proxy/ppapi_messages.h"
17 #include "ppapi/shared_impl/resource_var.h" 17 #include "ppapi/shared_impl/resource_var.h"
18 #include "ppapi/shared_impl/scoped_pp_var.h" 18 #include "ppapi/shared_impl/scoped_pp_var.h"
19 #include "storage/common/fileapi/file_system_util.h"
19 #include "third_party/WebKit/public/platform/WebFileSystem.h" 20 #include "third_party/WebKit/public/platform/WebFileSystem.h"
20 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 21 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
21 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 22 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
22 #include "third_party/WebKit/public/web/WebDOMFileSystem.h" 23 #include "third_party/WebKit/public/web/WebDOMFileSystem.h"
23 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h" 24 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h"
24 #include "third_party/WebKit/public/web/WebLocalFrame.h" 25 #include "third_party/WebKit/public/web/WebLocalFrame.h"
25 #include "webkit/common/fileapi/file_system_util.h"
26 26
27 using ppapi::ResourceVar; 27 using ppapi::ResourceVar;
28 28
29 namespace content { 29 namespace content {
30 namespace { 30 namespace {
31 31
32 void FlushComplete( 32 void FlushComplete(
33 const base::Callback<void(bool)>& callback, 33 const base::Callback<void(bool)>& callback,
34 const std::vector<scoped_refptr<content::HostResourceVar> >& browser_vars, 34 const std::vector<scoped_refptr<content::HostResourceVar> >& browser_vars,
35 const std::vector<int>& pending_host_ids) { 35 const std::vector<int>& pending_host_ids) {
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 const IPC::Message& create_message, 344 const IPC::Message& create_message,
345 const IPC::Message& browser_host_create_message) { 345 const IPC::Message& browser_host_create_message) {
346 scoped_refptr<HostResourceVar> result = 346 scoped_refptr<HostResourceVar> result =
347 CreateResourceVar(pending_renderer_id, create_message); 347 CreateResourceVar(pending_renderer_id, create_message);
348 browser_host_create_messages_.push_back(browser_host_create_message); 348 browser_host_create_messages_.push_back(browser_host_create_message);
349 browser_vars_.push_back(result); 349 browser_vars_.push_back(result);
350 return result; 350 return result;
351 } 351 }
352 352
353 } // namespace content 353 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_file_system_host.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698