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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/browser/loader/resource_dispatcher_host_impl.h" 7 #include "content/browser/loader/resource_dispatcher_host_impl.h"
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 << iter->path().value(); 181 << iter->path().value();
182 return false; 182 return false;
183 } 183 }
184 } 184 }
185 } 185 }
186 186
187 return true; 187 return true;
188 } 188 }
189 189
190 void RemoveDownloadFileFromChildSecurityPolicy(int child_id, 190 void RemoveDownloadFileFromChildSecurityPolicy(int child_id,
191 const FilePath& path) { 191 const base::FilePath& path) {
192 ChildProcessSecurityPolicyImpl::GetInstance()->RevokeAllPermissionsForFile( 192 ChildProcessSecurityPolicyImpl::GetInstance()->RevokeAllPermissionsForFile(
193 child_id, path); 193 child_id, path);
194 } 194 }
195 195
196 #if defined(OS_WIN) 196 #if defined(OS_WIN)
197 #pragma warning(disable: 4748) 197 #pragma warning(disable: 4748)
198 #pragma optimize("", off) 198 #pragma optimize("", off)
199 #endif 199 #endif
200 200
201 #if defined(OS_WIN) 201 #if defined(OS_WIN)
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 1701
1702 return i->second.get(); 1702 return i->second.get();
1703 } 1703 }
1704 1704
1705 ResourceLoader* ResourceDispatcherHostImpl::GetLoader(int child_id, 1705 ResourceLoader* ResourceDispatcherHostImpl::GetLoader(int child_id,
1706 int request_id) const { 1706 int request_id) const {
1707 return GetLoader(GlobalRequestID(child_id, request_id)); 1707 return GetLoader(GlobalRequestID(child_id, request_id));
1708 } 1708 }
1709 1709
1710 } // namespace content 1710 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_browsertest.cc ('k') | content/browser/media/audio_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698