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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 12965016: [content shell] add QuotaPermissionContext implementation that always grants quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_quota_permission_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index b973052b5cbc32d41291a42f9ab97b05280d4f53..163027fae217a3965ba1c61cd9ddd3db0494bec1 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -18,6 +18,7 @@
#include "content/shell/shell_devtools_delegate.h"
#include "content/shell/shell_message_filter.h"
#include "content/shell/shell_messages.h"
+#include "content/shell/shell_quota_permission_context.h"
#include "content/shell/shell_resource_dispatcher_host_delegate.h"
#include "content/shell/shell_switches.h"
#include "content/shell/shell_web_contents_view_delegate_creator.h"
@@ -176,6 +177,11 @@ WebContentsViewDelegate* ShellContentBrowserClient::GetWebContentsViewDelegate(
#endif
}
+QuotaPermissionContext*
+ShellContentBrowserClient::CreateQuotaPermissionContext() {
+ return new ShellQuotaPermissionContext();
+}
+
#if defined(OS_ANDROID)
void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const CommandLine& command_line,
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_quota_permission_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698