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

Side by Side Diff: chrome/browser/geolocation/geolocation_settings_state_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_settings_state.h" 5 #include "chrome/browser/geolocation/geolocation_settings_state.h"
6 6
7 #include "chrome/browser/chrome_thread.h"
7 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" 8 #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
8 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
9 #include "chrome/test/testing_profile.h" 10 #include "chrome/test/testing_profile.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 namespace { 13 namespace {
13 14
14 class GeolocationSettingsStateTests : public testing::Test { 15 class GeolocationSettingsStateTests : public testing::Test {
15 public: 16 public:
16 GeolocationSettingsStateTests() 17 GeolocationSettingsStateTests()
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( 177 formatted_host_per_state[CONTENT_SETTING_ALLOW].count(
177 url_2.host())); 178 url_2.host()));
178 EXPECT_EQ(1U, formatted_host_per_state[CONTENT_SETTING_BLOCK].size()); 179 EXPECT_EQ(1U, formatted_host_per_state[CONTENT_SETTING_BLOCK].size());
179 EXPECT_EQ(1U, 180 EXPECT_EQ(1U,
180 formatted_host_per_state[CONTENT_SETTING_BLOCK].count( 181 formatted_host_per_state[CONTENT_SETTING_BLOCK].count(
181 url_1.spec())); 182 url_1.spec()));
182 } 183 }
183 184
184 185
185 } // namespace 186 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_permission_context_unittest.cc ('k') | chrome/browser/gtk/bookmark_bar_gtk_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698