| OLD | NEW |
| 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/prefs/pref_registry_simple.h" |
| 8 #include "base/prefs/pref_service.h" |
| 7 #include "chrome/browser/net/ssl_config_service_manager.h" | 9 #include "chrome/browser/net/ssl_config_service_manager.h" |
| 8 #include "chrome/browser/prefs/browser_prefs.h" | 10 #include "chrome/browser/prefs/browser_prefs.h" |
| 9 #include "chrome/browser/prefs/pref_registry_simple.h" | |
| 10 #include "chrome/browser/prefs/pref_service.h" | |
| 11 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 11 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
| 12 #include "chrome/browser/profiles/profile_dependency_manager.h" | 12 #include "chrome/browser/profiles/profile_dependency_manager.h" |
| 13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
| 14 #include "chrome/test/base/browser_with_test_window_test.h" | 14 #include "chrome/test/base/browser_with_test_window_test.h" |
| 15 #include "chrome/test/base/testing_browser_process.h" | 15 #include "chrome/test/base/testing_browser_process.h" |
| 16 #include "chrome/test/base/testing_pref_service.h" | 16 #include "chrome/test/base/testing_pref_service.h" |
| 17 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
| 18 #include "content/public/browser/host_zoom_map.h" | 18 #include "content/public/browser/host_zoom_map.h" |
| 19 | 19 |
| 20 using content::HostZoomMap; | 20 using content::HostZoomMap; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 child_zoom_map->GetZoomLevel(host)) << | 164 child_zoom_map->GetZoomLevel(host)) << |
| 165 "Child change must not propagate to parent."; | 165 "Child change must not propagate to parent."; |
| 166 | 166 |
| 167 parent_zoom_map->SetZoomLevel(host, zoom_level_40); | 167 parent_zoom_map->SetZoomLevel(host, zoom_level_40); |
| 168 ASSERT_EQ(parent_zoom_map->GetZoomLevel(host), zoom_level_40); | 168 ASSERT_EQ(parent_zoom_map->GetZoomLevel(host), zoom_level_40); |
| 169 | 169 |
| 170 EXPECT_EQ(parent_zoom_map->GetZoomLevel(host), | 170 EXPECT_EQ(parent_zoom_map->GetZoomLevel(host), |
| 171 child_zoom_map->GetZoomLevel(host)) << | 171 child_zoom_map->GetZoomLevel(host)) << |
| 172 "Parent change should propagate to child."; | 172 "Parent change should propagate to child."; |
| 173 } | 173 } |
| OLD | NEW |