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

Side by Side Diff: chrome/browser/ui/startup/startup_browser_creator_browsertest.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 #if !defined(OS_CHROMEOS) 57 #if !defined(OS_CHROMEOS)
58 #include "base/callback.h" 58 #include "base/callback.h"
59 #include "base/run_loop.h" 59 #include "base/run_loop.h"
60 #include "base/values.h" 60 #include "base/values.h"
61 #include "components/policy/core/browser/browser_policy_connector.h" 61 #include "components/policy/core/browser/browser_policy_connector.h"
62 #include "components/policy/core/common/external_data_fetcher.h" 62 #include "components/policy/core/common/external_data_fetcher.h"
63 #include "components/policy/core/common/mock_configuration_policy_provider.h" 63 #include "components/policy/core/common/mock_configuration_policy_provider.h"
64 #include "components/policy/core/common/policy_map.h" 64 #include "components/policy/core/common/policy_map.h"
65 #include "components/policy/core/common/policy_types.h" 65 #include "components/policy/core/common/policy_types.h"
66 #include "policy/policy_constants.h" 66 #include "components/policy/policy_constants.h"
67 #include "testing/gmock/include/gmock/gmock.h" 67 #include "testing/gmock/include/gmock/gmock.h"
68 68
69 using testing::_; 69 using testing::_;
70 using testing::Return; 70 using testing::Return;
71 #endif // !defined(OS_CHROMEOS) 71 #endif // !defined(OS_CHROMEOS)
72 72
73 #if defined(ENABLE_SUPERVISED_USERS) 73 #if defined(ENABLE_SUPERVISED_USERS)
74 #include "chrome/browser/supervised_user/supervised_user_navigation_observer.h" 74 #include "chrome/browser/supervised_user/supervised_user_navigation_observer.h"
75 #include "chrome/browser/supervised_user/supervised_user_service.h" 75 #include "chrome/browser/supervised_user/supervised_user_service.h"
76 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" 76 #include "chrome/browser/supervised_user/supervised_user_service_factory.h"
(...skipping 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 ASSERT_TRUE(new_browser); 1618 ASSERT_TRUE(new_browser);
1619 1619
1620 // Verify that the first-run tab is shown and no other pages are present. 1620 // Verify that the first-run tab is shown and no other pages are present.
1621 TabStripModel* tab_strip = new_browser->tab_strip_model(); 1621 TabStripModel* tab_strip = new_browser->tab_strip_model();
1622 ASSERT_EQ(1, tab_strip->count()); 1622 ASSERT_EQ(1, tab_strip->count());
1623 EXPECT_EQ("title1.html", 1623 EXPECT_EQ("title1.html",
1624 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); 1624 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName());
1625 } 1625 }
1626 1626
1627 #endif // !defined(OS_CHROMEOS) 1627 #endif // !defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698