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

Side by Side Diff: chrome/test/chromedriver/chrome_launcher.cc

Issue 2493903002: [chromedriver] Remove --disable-component-update switch (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/test/chromedriver/chrome_launcher.h" 5 #include "chrome/test/chromedriver/chrome_launcher.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 const char* const kDesktopSwitches[] = { 71 const char* const kDesktopSwitches[] = {
72 "disable-hang-monitor", 72 "disable-hang-monitor",
73 "disable-prompt-on-repost", 73 "disable-prompt-on-repost",
74 "disable-sync", 74 "disable-sync",
75 "no-first-run", 75 "no-first-run",
76 "disable-background-networking", 76 "disable-background-networking",
77 "disable-web-resources", 77 "disable-web-resources",
78 "safebrowsing-disable-auto-update", 78 "safebrowsing-disable-auto-update",
79 "disable-client-side-phishing-detection", 79 "disable-client-side-phishing-detection",
80 "disable-component-update",
81 "disable-default-apps", 80 "disable-default-apps",
82 "enable-logging", 81 "enable-logging",
83 "log-level=0", 82 "log-level=0",
84 "password-store=basic", 83 "password-store=basic",
85 "use-mock-keychain", 84 "use-mock-keychain",
86 "test-type=webdriver", 85 "test-type=webdriver",
87 }; 86 };
88 87
89 const char* const kAndroidSwitches[] = { 88 const char* const kAndroidSwitches[] = {
90 "disable-fre", 89 "disable-fre",
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 // Write empty "First Run" file, otherwise Chrome will wipe the default 875 // Write empty "First Run" file, otherwise Chrome will wipe the default
877 // profile that was written. 876 // profile that was written.
878 if (base::WriteFile( 877 if (base::WriteFile(
879 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) { 878 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) {
880 return Status(kUnknownError, "failed to write first run file"); 879 return Status(kUnknownError, "failed to write first run file");
881 } 880 }
882 return Status(kOk); 881 return Status(kOk);
883 } 882 }
884 883
885 } // namespace internal 884 } // namespace internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698