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

Side by Side Diff: chrome/browser/content_settings/content_settings_usages_state_unittest.cc

Issue 815643004: Move ContentSettingsUsagesState to the component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
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 "components/content_settings/core/browser/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/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "components/content_settings/core/browser/host_content_settings_map.h" 12 #include "components/content_settings/core/browser/host_content_settings_map.h"
13 #include "content/public/test/test_browser_thread.h" 13 #include "content/public/test/test_browser_thread.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForGeolocation) { 226 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForGeolocation) {
227 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_GEOLOCATION); 227 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_GEOLOCATION);
228 } 228 }
229 229
230 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForMidi) { 230 TEST_F(ContentSettingsUsagesStateTests, ShowPortOnSameHostForMidi) {
231 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_MIDI_SYSEX); 231 ShowPortOnSameHost(CONTENT_SETTINGS_TYPE_MIDI_SYSEX);
232 } 232 }
233 233
234 } // namespace 234 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698