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

Side by Side Diff: chrome/browser/ui/webui/policy_ui_browsertest.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
24 #include "chrome/test/base/in_process_browser_test.h" 24 #include "chrome/test/base/in_process_browser_test.h"
25 #include "chrome/test/base/ui_test_utils.h" 25 #include "chrome/test/base/ui_test_utils.h"
26 #include "components/policy/core/browser/browser_policy_connector.h" 26 #include "components/policy/core/browser/browser_policy_connector.h"
27 #include "components/policy/core/common/external_data_fetcher.h" 27 #include "components/policy/core/common/external_data_fetcher.h"
28 #include "components/policy/core/common/mock_configuration_policy_provider.h" 28 #include "components/policy/core/common/mock_configuration_policy_provider.h"
29 #include "components/policy/core/common/policy_map.h" 29 #include "components/policy/core/common/policy_map.h"
30 #include "components/policy/core/common/policy_types.h" 30 #include "components/policy/core/common/policy_types.h"
31 #include "components/policy/core/common/schema.h" 31 #include "components/policy/core/common/schema.h"
32 #include "components/policy/policy_constants.h" 32 #include "components/policy/policy_constants.h"
33 #include "components/strings/grit/components_strings.h"
33 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
34 #include "content/public/test/browser_test_utils.h" 35 #include "content/public/test/browser_test_utils.h"
35 #include "extensions/common/extension_builder.h" 36 #include "extensions/common/extension_builder.h"
36 #include "grit/components_strings.h"
37 #include "testing/gmock/include/gmock/gmock.h" 37 #include "testing/gmock/include/gmock/gmock.h"
38 #include "testing/gtest/include/gtest/gtest.h" 38 #include "testing/gtest/include/gtest/gtest.h"
39 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
40 #include "url/gurl.h" 40 #include "url/gurl.h"
41 41
42 using testing::Return; 42 using testing::Return;
43 using testing::_; 43 using testing::_;
44 44
45 namespace { 45 namespace {
46 46
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 PopulateExpectedPolicy( 325 PopulateExpectedPolicy(
326 it.key(), std::string(), std::string(), nullptr, false)); 326 it.key(), std::string(), std::string(), nullptr, false));
327 } 327 }
328 // Add newly added policy to expected policy list. 328 // Add newly added policy to expected policy list.
329 expected_policies.push_back(PopulateExpectedPolicy( 329 expected_policies.push_back(PopulateExpectedPolicy(
330 newly_added_policy_name, std::string(), std::string(), nullptr, false)); 330 newly_added_policy_name, std::string(), std::string(), nullptr, false));
331 331
332 // Verify if policy UI includes policy that extension have. 332 // Verify if policy UI includes policy that extension have.
333 VerifyPolicies(expected_policies); 333 VerifyPolicies(expected_policies);
334 } 334 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698