OLD | NEW |
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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
6 #include "components/policy/core/browser/configuration_policy_pref_store.h" | 6 #include "components/policy/core/browser/configuration_policy_pref_store.h" |
7 #include "components/policy/core/browser/configuration_policy_pref_store_test.h" | 7 #include "components/policy/core/browser/configuration_policy_pref_store_test.h" |
8 #include "components/search_engines/default_search_manager.h" | 8 #include "components/search_engines/default_search_manager.h" |
9 #include "components/search_engines/default_search_policy_handler.h" | 9 #include "components/search_engines/default_search_policy_handler.h" |
10 #include "components/search_engines/search_engines_pref_names.h" | 10 #include "components/search_engines/search_engines_pref_names.h" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 temp->GetAsDictionary(&dictionary); | 479 temp->GetAsDictionary(&dictionary); |
480 | 480 |
481 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kURL, &value)); | 481 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kURL, &value)); |
482 EXPECT_EQ(kFileSearchURL, value); | 482 EXPECT_EQ(kFileSearchURL, value); |
483 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kShortName, &value)); | 483 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kShortName, &value)); |
484 EXPECT_EQ("_", value); | 484 EXPECT_EQ("_", value); |
485 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kKeyword, &value)); | 485 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kKeyword, &value)); |
486 EXPECT_EQ("_", value); | 486 EXPECT_EQ("_", value); |
487 } | 487 } |
488 } // namespace policy | 488 } // namespace policy |
OLD | NEW |