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

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

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now 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/common/pref_names.h" 8 #include "chrome/common/pref_names.h"
8 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 12
12 namespace { 13 namespace {
13 14
14 class GeolocationContentSettingsMapTests : public testing::Test { 15 class GeolocationContentSettingsMapTests : public testing::Test {
15 public: 16 public:
16 GeolocationContentSettingsMapTests() 17 GeolocationContentSettingsMapTests()
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 GURL("http://bad-embedder"))); 233 GURL("http://bad-embedder")));
233 EXPECT_EQ(CONTENT_SETTING_ASK, 234 EXPECT_EQ(CONTENT_SETTING_ASK,
234 map->GetContentSetting(GURL("http://a/"), 235 map->GetContentSetting(GURL("http://a/"),
235 GURL("http://example.com"))); 236 GURL("http://example.com")));
236 EXPECT_EQ(CONTENT_SETTING_ASK, 237 EXPECT_EQ(CONTENT_SETTING_ASK,
237 map->GetContentSetting(GURL("http://bad_requester/"), 238 map->GetContentSetting(GURL("http://bad_requester/"),
238 GURL("http://b/"))); 239 GURL("http://b/")));
239 } 240 }
240 241
241 } // namespace 242 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698