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

Unified Diff: content/browser/renderer_host/blob_message_filter.cc

Issue 9360014: Create a content public browser API around the ChildProcessSecurityPolicy class. The implementati... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/blob_message_filter.cc
===================================================================
--- content/browser/renderer_host/blob_message_filter.cc (revision 120814)
+++ content/browser/renderer_host/blob_message_filter.cc (working copy)
@@ -1,10 +1,10 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/blob_message_filter.h"
-#include "content/browser/child_process_security_policy.h"
+#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/chrome_blob_storage_context.h"
#include "content/common/webblob_messages.h"
#include "googleurl/src/gurl.h"
@@ -64,7 +64,7 @@
const GURL& url, const BlobData::Item& item) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (item.type == BlobData::TYPE_FILE &&
- !ChildProcessSecurityPolicy::GetInstance()->CanReadFile(
+ !ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(
process_id_, item.file_path)) {
OnRemoveBlob(url);
return;
« no previous file with comments | « content/browser/debugger/devtools_manager_impl.cc ('k') | content/browser/renderer_host/file_utilities_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698