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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 6951008: Have AppCache code go through the content embedder API for content settings checks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
14 #include "base/string_number_conversions.h" 14 #include "base/string_number_conversions.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/content_settings/host_content_settings_map.h"
16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 17 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
17 #include "chrome/browser/extensions/user_script_master.h" 18 #include "chrome/browser/extensions/user_script_master.h"
18 #include "chrome/browser/io_thread.h" 19 #include "chrome/browser/io_thread.h"
19 #include "chrome/browser/net/chrome_cookie_notification_details.h" 20 #include "chrome/browser/net/chrome_cookie_notification_details.h"
20 #include "chrome/browser/net/chrome_cookie_policy.h" 21 #include "chrome/browser/net/chrome_cookie_policy.h"
21 #include "chrome/browser/net/chrome_dns_cert_provenance_checker_factory.h" 22 #include "chrome/browser/net/chrome_dns_cert_provenance_checker_factory.h"
22 #include "chrome/browser/net/chrome_net_log.h" 23 #include "chrome/browser/net/chrome_net_log.h"
23 #include "chrome/browser/net/chrome_network_delegate.h" 24 #include "chrome/browser/net/chrome_network_delegate.h"
24 #include "chrome/browser/net/pref_proxy_config_service.h" 25 #include "chrome/browser/net/pref_proxy_config_service.h"
25 #include "chrome/browser/net/proxy_service_factory.h" 26 #include "chrome/browser/net/proxy_service_factory.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 context->set_appcache_service(profile_params_->appcache_service); 351 context->set_appcache_service(profile_params_->appcache_service);
351 context->set_blob_storage_context(profile_params_->blob_storage_context); 352 context->set_blob_storage_context(profile_params_->blob_storage_context);
352 context->set_file_system_context(profile_params_->file_system_context); 353 context->set_file_system_context(profile_params_->file_system_context);
353 context->set_extension_info_map(profile_params_->extension_info_map); 354 context->set_extension_info_map(profile_params_->extension_info_map);
354 } 355 }
355 356
356 void ProfileIOData::ShutdownOnUIThread() { 357 void ProfileIOData::ShutdownOnUIThread() {
357 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 358 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
358 enable_referrers_.Destroy(); 359 enable_referrers_.Destroy();
359 } 360 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698