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

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

Issue 12680003: net: split net/ssl out of net/base (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 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 #include "chrome/browser/profiles/off_the_record_profile_impl.h" 5 #include "chrome/browser/profiles/off_the_record_profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "chrome/common/extensions/extension.h" 42 #include "chrome/common/extensions/extension.h"
43 #include "chrome/common/pref_names.h" 43 #include "chrome/common/pref_names.h"
44 #include "chrome/common/render_messages.h" 44 #include "chrome/common/render_messages.h"
45 #include "components/user_prefs/user_prefs.h" 45 #include "components/user_prefs/user_prefs.h"
46 #include "content/public/browser/browser_thread.h" 46 #include "content/public/browser/browser_thread.h"
47 #include "content/public/browser/host_zoom_map.h" 47 #include "content/public/browser/host_zoom_map.h"
48 #include "content/public/browser/render_process_host.h" 48 #include "content/public/browser/render_process_host.h"
49 #include "content/public/browser/storage_partition.h" 49 #include "content/public/browser/storage_partition.h"
50 #include "content/public/browser/url_data_source.h" 50 #include "content/public/browser/url_data_source.h"
51 #include "content/public/browser/web_contents.h" 51 #include "content/public/browser/web_contents.h"
52 #include "net/base/transport_security_state.h"
53 #include "net/http/http_server_properties.h" 52 #include "net/http/http_server_properties.h"
53 #include "net/ssl/transport_security_state.h"
54 #include "webkit/database/database_tracker.h" 54 #include "webkit/database/database_tracker.h"
55 55
56 #if defined(OS_ANDROID) 56 #if defined(OS_ANDROID)
57 #include "chrome/browser/prefs/scoped_user_pref_update.h" 57 #include "chrome/browser/prefs/scoped_user_pref_update.h"
58 #endif 58 #endif
59 59
60 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
61 #include "chrome/browser/chromeos/preferences.h" 61 #include "chrome/browser/chromeos/preferences.h"
62 #include "chrome/browser/chromeos/proxy_config_service_impl.h" 62 #include "chrome/browser/chromeos/proxy_config_service_impl.h"
63 #endif 63 #endif
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 void OffTheRecordProfileImpl::OnZoomLevelChanged(const std::string& host) { 475 void OffTheRecordProfileImpl::OnZoomLevelChanged(const std::string& host) {
476 if (host.empty()) 476 if (host.empty())
477 return; 477 return;
478 478
479 HostZoomMap* host_zoom_map = HostZoomMap::GetForBrowserContext(this); 479 HostZoomMap* host_zoom_map = HostZoomMap::GetForBrowserContext(this);
480 HostZoomMap* parent_host_zoom_map = 480 HostZoomMap* parent_host_zoom_map =
481 HostZoomMap::GetForBrowserContext(profile_); 481 HostZoomMap::GetForBrowserContext(profile_);
482 double level = parent_host_zoom_map->GetZoomLevel(host); 482 double level = parent_host_zoom_map->GetZoomLevel(host);
483 host_zoom_map->SetZoomLevel(host, level); 483 host_zoom_map->SetZoomLevel(host, level);
484 } 484 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698