| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/content_settings_dialog_controller.h" | 5 #import "chrome/browser/ui/cocoa/options/content_settings_dialog_controller.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #import "base/scoped_nsobject.h" | 9 #import "base/scoped_nsobject.h" |
| 10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
| 11 #include "chrome/browser/content_settings/host_content_settings_map.h" | 11 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 12 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" | 12 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" |
| 13 #include "chrome/browser/notifications/desktop_notification_service.h" | 13 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
| 15 #include "chrome/browser/ui/cocoa/browser_test_helper.h" | 15 #include "chrome/browser/ui/cocoa/browser_test_helper.h" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 EXPECT_EQ(setting, CONTENT_SETTING_ASK); | 280 EXPECT_EQ(setting, CONTENT_SETTING_ASK); |
| 281 | 281 |
| 282 [controller_ setNotificationsSettingIndex:kNotificationsDisabledIndex]; | 282 [controller_ setNotificationsSettingIndex:kNotificationsDisabledIndex]; |
| 283 setting = | 283 setting = |
| 284 notificationsService_->GetDefaultContentSetting(); | 284 notificationsService_->GetDefaultContentSetting(); |
| 285 EXPECT_EQ(setting, CONTENT_SETTING_BLOCK); | 285 EXPECT_EQ(setting, CONTENT_SETTING_BLOCK); |
| 286 } | 286 } |
| 287 | 287 |
| 288 } // namespace | 288 } // namespace |
| 289 | 289 |
| OLD | NEW |