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

Side by Side Diff: chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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 (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 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" 5 #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
6 6
7 #include "chrome/browser/pref_service.h" 7 #include "chrome/browser/prefs/pref_service.h"
8 #include "chrome/common/pref_names.h" 8 #include "chrome/common/pref_names.h"
9 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 12
13 namespace { 13 namespace {
14 14
15 class GeolocationContentSettingsMapTests : public testing::Test { 15 class GeolocationContentSettingsMapTests : public testing::Test {
16 public: 16 public:
17 GeolocationContentSettingsMapTests() 17 GeolocationContentSettingsMapTests()
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 GURL("http://bad-embedder"))); 233 GURL("http://bad-embedder")));
234 EXPECT_EQ(CONTENT_SETTING_ASK, 234 EXPECT_EQ(CONTENT_SETTING_ASK,
235 map->GetContentSetting(GURL("http://a/"), 235 map->GetContentSetting(GURL("http://a/"),
236 GURL("http://example.com"))); 236 GURL("http://example.com")));
237 EXPECT_EQ(CONTENT_SETTING_ASK, 237 EXPECT_EQ(CONTENT_SETTING_ASK,
238 map->GetContentSetting(GURL("http://bad_requester/"), 238 map->GetContentSetting(GURL("http://bad_requester/"),
239 GURL("http://b/"))); 239 GURL("http://b/")));
240 } 240 }
241 241
242 } // namespace 242 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698