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

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

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 2 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 | Annotate | Revision Log
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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/extensions/extension_browsertest.h" 13 #include "chrome/browser/extensions/extension_browsertest.h"
14 #include "chrome/browser/extensions/extension_service.h" 14 #include "chrome/browser/extensions/extension_service.h"
15 #include "chrome/browser/extensions/extension_system.h" 15 #include "chrome/browser/extensions/extension_system.h"
16 #include "chrome/browser/first_run/first_run.h" 16 #include "chrome/browser/first_run/first_run.h"
17 #include "chrome/browser/infobars/infobar_service.h" 17 #include "chrome/browser/infobars/infobar_service.h"
18 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h" 18 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h"
19 #include "chrome/browser/managed_mode/managed_user_service.h" 19 #include "chrome/browser/managed_mode/managed_user_service.h"
20 #include "chrome/browser/managed_mode/managed_user_service_factory.h" 20 #include "chrome/browser/managed_mode/managed_user_service_factory.h"
21 #include "chrome/browser/prefs/session_startup_pref.h" 21 #include "chrome/browser/prefs/session_startup_pref.h"
22 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/profiles/profile_impl.h" 23 #include "chrome/browser/profiles/profile_impl.h"
24 #include "chrome/browser/profiles/profile_manager.h" 24 #include "chrome/browser/profiles/profile_manager.h"
25 #include "chrome/browser/search/search.h"
25 #include "chrome/browser/sessions/session_restore.h" 26 #include "chrome/browser/sessions/session_restore.h"
26 #include "chrome/browser/signin/signin_promo.h" 27 #include "chrome/browser/signin/signin_promo.h"
27 #include "chrome/browser/ui/browser.h" 28 #include "chrome/browser/ui/browser.h"
28 #include "chrome/browser/ui/browser_finder.h" 29 #include "chrome/browser/ui/browser_finder.h"
29 #include "chrome/browser/ui/browser_iterator.h" 30 #include "chrome/browser/ui/browser_iterator.h"
30 #include "chrome/browser/ui/browser_list.h" 31 #include "chrome/browser/ui/browser_list.h"
31 #include "chrome/browser/ui/browser_list_observer.h" 32 #include "chrome/browser/ui/browser_list_observer.h"
32 #include "chrome/browser/ui/browser_window.h" 33 #include "chrome/browser/ui/browser_window.h"
33 #include "chrome/browser/ui/host_desktop.h" 34 #include "chrome/browser/ui/host_desktop.h"
34 #include "chrome/browser/ui/startup/startup_browser_creator.h" 35 #include "chrome/browser/ui/startup/startup_browser_creator.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 432
432 // This should have created a new browser window. 433 // This should have created a new browser window.
433 Browser* new_browser = FindOneOtherBrowser(browser()); 434 Browser* new_browser = FindOneOtherBrowser(browser());
434 ASSERT_TRUE(new_browser); 435 ASSERT_TRUE(new_browser);
435 436
436 TabStripModel* tab_strip = new_browser->tab_strip_model(); 437 TabStripModel* tab_strip = new_browser->tab_strip_model();
437 EXPECT_EQ(4, tab_strip->count()); 438 EXPECT_EQ(4, tab_strip->count());
438 439
439 EXPECT_EQ("title1.html", 440 EXPECT_EQ("title1.html",
440 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); 441 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName());
441 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 442 EXPECT_TRUE(chrome::IsInstantNTP(tab_strip->GetWebContentsAt(1)));
442 tab_strip->GetWebContentsAt(1)->GetURL());
443 EXPECT_EQ("title2.html", 443 EXPECT_EQ("title2.html",
444 tab_strip->GetWebContentsAt(2)->GetURL().ExtractFileName()); 444 tab_strip->GetWebContentsAt(2)->GetURL().ExtractFileName());
445 EXPECT_EQ(internals::GetWelcomePageURL(), 445 EXPECT_EQ(internals::GetWelcomePageURL(),
446 tab_strip->GetWebContentsAt(3)->GetURL()); 446 tab_strip->GetWebContentsAt(3)->GetURL());
447 } 447 }
448 448
449 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoNoWelcomePage) { 449 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoNoWelcomePage) {
450 // Do a simple non-process-startup browser launch. 450 // Do a simple non-process-startup browser launch.
451 CommandLine dummy(CommandLine::NO_PROGRAM); 451 CommandLine dummy(CommandLine::NO_PROGRAM);
452 StartupBrowserCreatorImpl launch(base::FilePath(), dummy, 452 StartupBrowserCreatorImpl launch(base::FilePath(), dummy,
453 chrome::startup::IS_FIRST_RUN); 453 chrome::startup::IS_FIRST_RUN);
454 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), false, 454 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), false,
455 browser()->host_desktop_type())); 455 browser()->host_desktop_type()));
456 456
457 // This should have created a new browser window. 457 // This should have created a new browser window.
458 Browser* new_browser = FindOneOtherBrowser(browser()); 458 Browser* new_browser = FindOneOtherBrowser(browser());
459 ASSERT_TRUE(new_browser); 459 ASSERT_TRUE(new_browser);
460 460
461 TabStripModel* tab_strip = new_browser->tab_strip_model(); 461 TabStripModel* tab_strip = new_browser->tab_strip_model();
462 EXPECT_EQ(1, tab_strip->count()); 462 EXPECT_EQ(1, tab_strip->count());
463 463
464 if (signin::ShouldShowPromoAtStartup(browser()->profile(), true)) { 464 if (signin::ShouldShowPromoAtStartup(browser()->profile(), true)) {
465 EXPECT_EQ(signin::GetPromoURL(signin::SOURCE_START_PAGE, false), 465 EXPECT_EQ(signin::GetPromoURL(signin::SOURCE_START_PAGE, false),
466 tab_strip->GetWebContentsAt(0)->GetURL()); 466 tab_strip->GetWebContentsAt(0)->GetURL());
467 } else { 467 } else {
468 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 468 EXPECT_TRUE(chrome::IsInstantNTP(tab_strip->GetWebContentsAt(0)));
469 tab_strip->GetWebContentsAt(0)->GetURL());
470 } 469 }
471 } 470 }
472 471
473 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoWithWelcomePage) { 472 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoWithWelcomePage) {
474 first_run::SetShouldShowWelcomePage(); 473 first_run::SetShouldShowWelcomePage();
475 474
476 // Do a simple non-process-startup browser launch. 475 // Do a simple non-process-startup browser launch.
477 CommandLine dummy(CommandLine::NO_PROGRAM); 476 CommandLine dummy(CommandLine::NO_PROGRAM);
478 StartupBrowserCreatorImpl launch(base::FilePath(), dummy, 477 StartupBrowserCreatorImpl launch(base::FilePath(), dummy,
479 chrome::startup::IS_FIRST_RUN); 478 chrome::startup::IS_FIRST_RUN);
480 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), false, 479 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), false,
481 browser()->host_desktop_type())); 480 browser()->host_desktop_type()));
482 481
483 // This should have created a new browser window. 482 // This should have created a new browser window.
484 Browser* new_browser = FindOneOtherBrowser(browser()); 483 Browser* new_browser = FindOneOtherBrowser(browser());
485 ASSERT_TRUE(new_browser); 484 ASSERT_TRUE(new_browser);
486 485
487 TabStripModel* tab_strip = new_browser->tab_strip_model(); 486 TabStripModel* tab_strip = new_browser->tab_strip_model();
488 EXPECT_EQ(2, tab_strip->count()); 487 EXPECT_EQ(2, tab_strip->count());
489 488
490 if (signin::ShouldShowPromoAtStartup(browser()->profile(), true)) { 489 if (signin::ShouldShowPromoAtStartup(browser()->profile(), true)) {
491 EXPECT_EQ(signin::GetPromoURL(signin::SOURCE_START_PAGE, false), 490 EXPECT_EQ(signin::GetPromoURL(signin::SOURCE_START_PAGE, false),
492 tab_strip->GetWebContentsAt(0)->GetURL()); 491 tab_strip->GetWebContentsAt(0)->GetURL());
493 } else { 492 } else {
494 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 493 EXPECT_TRUE(chrome::IsInstantNTP(tab_strip->GetWebContentsAt(0)));
495 tab_strip->GetWebContentsAt(0)->GetURL());
496 } 494 }
497 EXPECT_EQ(internals::GetWelcomePageURL(), 495 EXPECT_EQ(internals::GetWelcomePageURL(),
498 tab_strip->GetWebContentsAt(1)->GetURL()); 496 tab_strip->GetWebContentsAt(1)->GetURL());
499 } 497 }
500 498
501 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoWithFirstRunTabs) { 499 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, SyncPromoWithFirstRunTabs) {
502 StartupBrowserCreator browser_creator; 500 StartupBrowserCreator browser_creator;
503 browser_creator.AddFirstRunTab(test_server()->GetURL("files/title1.html")); 501 browser_creator.AddFirstRunTab(test_server()->GetURL("files/title1.html"));
504 502
505 // The welcome page should not be shown, even if 503 // The welcome page should not be shown, even if
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 base::MessageLoop::current()->RunUntilIdle(); 815 base::MessageLoop::current()->RunUntilIdle();
818 816
819 Browser* new_browser = NULL; 817 Browser* new_browser = NULL;
820 // The last open profile (the profile_home1 in this case) will always be 818 // The last open profile (the profile_home1 in this case) will always be
821 // launched, even if it will open just the home page. 819 // launched, even if it will open just the home page.
822 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_home1, original_desktop_type)); 820 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_home1, original_desktop_type));
823 new_browser = FindOneOtherBrowserForProfile(profile_home1, NULL); 821 new_browser = FindOneOtherBrowserForProfile(profile_home1, NULL);
824 ASSERT_TRUE(new_browser); 822 ASSERT_TRUE(new_browser);
825 TabStripModel* tab_strip = new_browser->tab_strip_model(); 823 TabStripModel* tab_strip = new_browser->tab_strip_model();
826 ASSERT_EQ(1, tab_strip->count()); 824 ASSERT_EQ(1, tab_strip->count());
827 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 825 EXPECT_TRUE(chrome::IsNTPURL(tab_strip->GetWebContentsAt(0)->GetURL(),
828 tab_strip->GetWebContentsAt(0)->GetURL()); 826 browser()->profile()));
829 827
830 // profile_urls opened the urls. 828 // profile_urls opened the urls.
831 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_urls, original_desktop_type)); 829 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_urls, original_desktop_type));
832 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL); 830 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL);
833 ASSERT_TRUE(new_browser); 831 ASSERT_TRUE(new_browser);
834 tab_strip = new_browser->tab_strip_model(); 832 tab_strip = new_browser->tab_strip_model();
835 ASSERT_EQ(1, tab_strip->count()); 833 ASSERT_EQ(1, tab_strip->count());
836 EXPECT_EQ(urls[0], tab_strip->GetWebContentsAt(0)->GetURL()); 834 EXPECT_EQ(urls[0], tab_strip->GetWebContentsAt(0)->GetURL());
837 835
838 // profile_last opened the last open pages. 836 // profile_last opened the last open pages.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 917
920 // The profile which normally opens the home page displays the new tab page. 918 // The profile which normally opens the home page displays the new tab page.
921 Browser* new_browser = NULL; 919 Browser* new_browser = NULL;
922 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_home, 920 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_home,
923 browser()->host_desktop_type())); 921 browser()->host_desktop_type()));
924 new_browser = FindOneOtherBrowserForProfile(profile_home, NULL); 922 new_browser = FindOneOtherBrowserForProfile(profile_home, NULL);
925 ASSERT_TRUE(new_browser); 923 ASSERT_TRUE(new_browser);
926 TabStripModel* tab_strip = new_browser->tab_strip_model(); 924 TabStripModel* tab_strip = new_browser->tab_strip_model();
927 ASSERT_EQ(1, tab_strip->count()); 925 ASSERT_EQ(1, tab_strip->count());
928 content::WebContents* web_contents = tab_strip->GetWebContentsAt(0); 926 content::WebContents* web_contents = tab_strip->GetWebContentsAt(0);
929 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), web_contents->GetURL()); 927 EXPECT_TRUE(chrome::IsNTPURL(web_contents->GetURL(), browser()->profile()));
930 EXPECT_EQ(1U, 928 EXPECT_EQ(1U,
931 InfoBarService::FromWebContents(web_contents)->infobar_count()); 929 InfoBarService::FromWebContents(web_contents)->infobar_count());
932 930
933 // The profile which normally opens last open pages displays the new tab page. 931 // The profile which normally opens last open pages displays the new tab page.
934 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_last, 932 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_last,
935 browser()->host_desktop_type())); 933 browser()->host_desktop_type()));
936 new_browser = FindOneOtherBrowserForProfile(profile_last, NULL); 934 new_browser = FindOneOtherBrowserForProfile(profile_last, NULL);
937 ASSERT_TRUE(new_browser); 935 ASSERT_TRUE(new_browser);
938 tab_strip = new_browser->tab_strip_model(); 936 tab_strip = new_browser->tab_strip_model();
939 ASSERT_EQ(1, tab_strip->count()); 937 ASSERT_EQ(1, tab_strip->count());
940 web_contents = tab_strip->GetWebContentsAt(0); 938 web_contents = tab_strip->GetWebContentsAt(0);
941 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), web_contents->GetURL()); 939 EXPECT_TRUE(chrome::IsNTPURL(web_contents->GetURL(), browser()->profile()));
942 EXPECT_EQ(1U, 940 EXPECT_EQ(1U,
943 InfoBarService::FromWebContents(web_contents)->infobar_count()); 941 InfoBarService::FromWebContents(web_contents)->infobar_count());
944 942
945 // The profile which normally opens URLs displays the new tab page. 943 // The profile which normally opens URLs displays the new tab page.
946 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_urls, 944 ASSERT_EQ(1u, chrome::GetBrowserCount(profile_urls,
947 browser()->host_desktop_type())); 945 browser()->host_desktop_type()));
948 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL); 946 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL);
949 ASSERT_TRUE(new_browser); 947 ASSERT_TRUE(new_browser);
950 tab_strip = new_browser->tab_strip_model(); 948 tab_strip = new_browser->tab_strip_model();
951 ASSERT_EQ(1, tab_strip->count()); 949 ASSERT_EQ(1, tab_strip->count());
952 web_contents = tab_strip->GetWebContentsAt(0); 950 web_contents = tab_strip->GetWebContentsAt(0);
953 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), web_contents->GetURL()); 951 EXPECT_TRUE(chrome::IsNTPURL(web_contents->GetURL(), browser()->profile()));
954 EXPECT_EQ(1U, 952 EXPECT_EQ(1U,
955 InfoBarService::FromWebContents(web_contents)->infobar_count()); 953 InfoBarService::FromWebContents(web_contents)->infobar_count());
956 } 954 }
957 955
958 class ManagedModeBrowserCreatorTest : public InProcessBrowserTest { 956 class ManagedModeBrowserCreatorTest : public InProcessBrowserTest {
959 protected: 957 protected:
960 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 958 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
961 InProcessBrowserTest::SetUpCommandLine(command_line); 959 InProcessBrowserTest::SetUpCommandLine(command_line);
962 command_line->AppendSwitch(switches::kEnableManagedUsers); 960 command_line->AppendSwitch(switches::kEnableManagedUsers);
963 } 961 }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), true, 1054 ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), true,
1057 browser()->host_desktop_type())); 1055 browser()->host_desktop_type()));
1058 1056
1059 // This should have created a new browser window. 1057 // This should have created a new browser window.
1060 Browser* new_browser = FindOneOtherBrowser(browser()); 1058 Browser* new_browser = FindOneOtherBrowser(browser());
1061 ASSERT_TRUE(new_browser); 1059 ASSERT_TRUE(new_browser);
1062 1060
1063 // Verify that the NTP and the welcome page are shown. 1061 // Verify that the NTP and the welcome page are shown.
1064 TabStripModel* tab_strip = new_browser->tab_strip_model(); 1062 TabStripModel* tab_strip = new_browser->tab_strip_model();
1065 ASSERT_EQ(2, tab_strip->count()); 1063 ASSERT_EQ(2, tab_strip->count());
1066 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 1064 EXPECT_TRUE(chrome::IsNTPURL(tab_strip->GetWebContentsAt(0)->GetURL(),
1067 tab_strip->GetWebContentsAt(0)->GetURL()); 1065 browser()->profile()));
1068 EXPECT_EQ(internals::GetWelcomePageURL(), 1066 EXPECT_EQ(internals::GetWelcomePageURL(),
1069 tab_strip->GetWebContentsAt(1)->GetURL()); 1067 tab_strip->GetWebContentsAt(1)->GetURL());
1070 } 1068 }
1071 1069
1072 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorFirstRunTest, SyncPromoAllowed) { 1070 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorFirstRunTest, SyncPromoAllowed) {
1073 // Consistently enable the welcome page on all platforms. 1071 // Consistently enable the welcome page on all platforms.
1074 first_run::SetShouldShowWelcomePage(); 1072 first_run::SetShouldShowWelcomePage();
1075 1073
1076 // Simulate the following master_preferences: 1074 // Simulate the following master_preferences:
1077 // { 1075 // {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 browser()->host_desktop_type())); 1242 browser()->host_desktop_type()));
1245 1243
1246 // This should have created a new browser window. 1244 // This should have created a new browser window.
1247 Browser* new_browser = FindOneOtherBrowser(browser()); 1245 Browser* new_browser = FindOneOtherBrowser(browser());
1248 ASSERT_TRUE(new_browser); 1246 ASSERT_TRUE(new_browser);
1249 1247
1250 // Verify that the first-run tabs are shown, the NTP that they contain has not 1248 // Verify that the first-run tabs are shown, the NTP that they contain has not
1251 // not been replaced by the sync promo and no sync promo has been added. 1249 // not been replaced by the sync promo and no sync promo has been added.
1252 TabStripModel* tab_strip = new_browser->tab_strip_model(); 1250 TabStripModel* tab_strip = new_browser->tab_strip_model();
1253 ASSERT_EQ(2, tab_strip->count()); 1251 ASSERT_EQ(2, tab_strip->count());
1254 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 1252 EXPECT_TRUE(chrome::IsNTPURL(tab_strip->GetWebContentsAt(0)->GetURL(),
1255 tab_strip->GetWebContentsAt(0)->GetURL()); 1253 browser()->profile()));
1256 EXPECT_EQ("title1.html", 1254 EXPECT_EQ("title1.html",
1257 tab_strip->GetWebContentsAt(1)->GetURL().ExtractFileName()); 1255 tab_strip->GetWebContentsAt(1)->GetURL().ExtractFileName());
1258 } 1256 }
1259 1257
1260 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorFirstRunTest, 1258 IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorFirstRunTest,
1261 FirstRunTabsSyncPromoForbidden) { 1259 FirstRunTabsSyncPromoForbidden) {
1262 // Simulate the following master_preferences: 1260 // Simulate the following master_preferences:
1263 // { 1261 // {
1264 // "first_run_tabs" : [ 1262 // "first_run_tabs" : [
1265 // "files/title1.html" 1263 // "files/title1.html"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 ASSERT_EQ(1, tab_strip->count()); 1336 ASSERT_EQ(1, tab_strip->count());
1339 EXPECT_EQ("title1.html", 1337 EXPECT_EQ("title1.html",
1340 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); 1338 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName());
1341 } 1339 }
1342 #endif // defined(ENABLE_CONFIGURATION_POLICY) 1340 #endif // defined(ENABLE_CONFIGURATION_POLICY)
1343 1341
1344 #endif // !defined(OS_LINUX) || !defined(GOOGLE_CHROME_BUILD) || 1342 #endif // !defined(OS_LINUX) || !defined(GOOGLE_CHROME_BUILD) ||
1345 // defined(ENABLE_CONFIGURATION_POLICY) 1343 // defined(ENABLE_CONFIGURATION_POLICY)
1346 1344
1347 #endif // !defined(OS_CHROMEOS) 1345 #endif // !defined(OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698