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

Side by Side Diff: content/shell/shell_message_filter.cc

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/shell/shell_message_filter.h" 5 #include "content/shell/shell_message_filter.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/threading/thread_restrictions.h" 8 #include "base/threading/thread_restrictions.h"
9 #include "content/public/browser/child_process_security_policy.h" 9 #include "content/public/browser/child_process_security_policy.h"
10 #include "content/shell/common/shell_messages.h" 10 #include "content/shell/common/shell_messages.h"
11 #include "content/shell/shell_network_delegate.h" 11 #include "content/shell/shell_network_delegate.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "webkit/browser/database/database_tracker.h" 13 #include "webkit/browser/database/database_tracker.h"
14 #include "webkit/browser/fileapi/isolated_context.h" 14 #include "webkit/browser/fileapi/isolated_context.h"
15 #include "webkit/quota/quota_manager.h" 15 #include "webkit/browser/quota/quota_manager.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 ShellMessageFilter::ShellMessageFilter( 19 ShellMessageFilter::ShellMessageFilter(
20 int render_process_id, 20 int render_process_id,
21 webkit_database::DatabaseTracker* database_tracker, 21 webkit_database::DatabaseTracker* database_tracker,
22 quota::QuotaManager* quota_manager) 22 quota::QuotaManager* quota_manager)
23 : render_process_id_(render_process_id), 23 : render_process_id_(render_process_id),
24 database_tracker_(database_tracker), 24 database_tracker_(database_tracker),
25 quota_manager_(quota_manager) { 25 quota_manager_(quota_manager) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 quota_manager_->SetTemporaryGlobalOverrideQuota( 82 quota_manager_->SetTemporaryGlobalOverrideQuota(
83 quota * quota::QuotaManager::kPerHostTemporaryPortion, 83 quota * quota::QuotaManager::kPerHostTemporaryPortion,
84 quota::QuotaCallback()); 84 quota::QuotaCallback());
85 } 85 }
86 86
87 void ShellMessageFilter::OnAcceptAllCookies(bool accept) { 87 void ShellMessageFilter::OnAcceptAllCookies(bool accept) {
88 ShellNetworkDelegate::SetAcceptAllCookies(accept); 88 ShellNetworkDelegate::SetAcceptAllCookies(accept);
89 } 89 }
90 90
91 } // namespace content 91 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/shell/shell_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698