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

Side by Side Diff: chrome/browser/configuration_policy_pref_store_unittest.cc

Issue 3068004: base/ header cleanup. Forward declaration instead of including. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: chrome_launcher_unittest.cc Created 10 years, 5 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 <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h"
8 #include "chrome/browser/configuration_policy_pref_store.h" 9 #include "chrome/browser/configuration_policy_pref_store.h"
9 #include "chrome/browser/mock_configuration_policy_provider.h" 10 #include "chrome/browser/mock_configuration_policy_provider.h"
10 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
11 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
12 13
13 class ConfigurationPolicyPrefStoreTest : public testing::Test { 14 class ConfigurationPolicyPrefStoreTest : public testing::Test {
14 public: 15 public:
15 // Applies a policy that has a string value. 16 // Applies a policy that has a string value.
16 void ApplyStringPolicyValue( 17 void ApplyStringPolicyValue(
17 ConfigurationPolicyPrefStore* store, 18 ConfigurationPolicyPrefStore* store,
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 (*current)->GetAsString(&plugin_name); 461 (*current)->GetAsString(&plugin_name);
461 EXPECT_EQ("plugin1", plugin_name); 462 EXPECT_EQ("plugin1", plugin_name);
462 ++current; 463 ++current;
463 ASSERT_TRUE(current != end); 464 ASSERT_TRUE(current != end);
464 (*current)->GetAsString(&plugin_name); 465 (*current)->GetAsString(&plugin_name);
465 EXPECT_EQ("plugin2,", plugin_name); 466 EXPECT_EQ("plugin2,", plugin_name);
466 ++current; 467 ++current;
467 EXPECT_TRUE(current == end); 468 EXPECT_TRUE(current == end);
468 } 469 }
469 470
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_browsertest.cc ('k') | chrome/browser/extensions/extension_context_menu_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698