| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/content_settings/content_settings_usages_state.h" | 5 #include "chrome/browser/content_settings/content_settings_usages_state.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "chrome/browser/content_settings/host_content_settings_map.h" | |
| 11 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
| 11 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 12 #include "content/public/browser/navigation_details.h" | 12 #include "content/public/browser/navigation_details.h" |
| 13 #include "content/public/browser/navigation_entry.h" | 13 #include "content/public/browser/navigation_entry.h" |
| 14 #include "content/public/test/test_browser_thread.h" | 14 #include "content/public/test/test_browser_thread.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 using content::BrowserThread; | 17 using content::BrowserThread; |
| 18 using content::NavigationEntry; | 18 using content::NavigationEntry; |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForGeolocation) { | 221 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForGeolocation) { |
| 222 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_GEOLOCATION); | 222 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_GEOLOCATION); |
| 223 } | 223 } |
| 224 | 224 |
| 225 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForMidi) { | 225 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForMidi) { |
| 226 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_MIDI_SYSEX); | 226 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_MIDI_SYSEX); |
| 227 } | 227 } |
| 228 | 228 |
| 229 } // namespace | 229 } // namespace |
| OLD | NEW |