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

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

Issue 2890103002: [Chromedriver] Allow access to chrome extension within iframe. (Closed)
Patch Set: using packed extension for unique id. Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/test/chromedriver/test/run_py_tests.py » ('j') | 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 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 "disable-background-networking", 77 "disable-background-networking",
78 "disable-web-resources", 78 "disable-web-resources",
79 "safebrowsing-disable-auto-update", 79 "safebrowsing-disable-auto-update",
80 "disable-client-side-phishing-detection", 80 "disable-client-side-phishing-detection",
81 "disable-default-apps", 81 "disable-default-apps",
82 "enable-logging", 82 "enable-logging",
83 "log-level=0", 83 "log-level=0",
84 "password-store=basic", 84 "password-store=basic",
85 "use-mock-keychain", 85 "use-mock-keychain",
86 "test-type=webdriver", 86 "test-type=webdriver",
87 "force-fieldtrials=SiteIsolationExtensions/Control",
87 }; 88 };
88 89
89 const char* const kAndroidSwitches[] = { 90 const char* const kAndroidSwitches[] = {
90 "disable-fre", "enable-remote-debugging", 91 "disable-fre", "enable-remote-debugging",
91 }; 92 };
92 93
93 #if defined(OS_LINUX) 94 #if defined(OS_LINUX)
94 const char kEnableCrashReport[] = "enable-crash-reporter-for-testing"; 95 const char kEnableCrashReport[] = "enable-crash-reporter-for-testing";
95 #endif 96 #endif
96 97
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 // Write empty "First Run" file, otherwise Chrome will wipe the default 877 // Write empty "First Run" file, otherwise Chrome will wipe the default
877 // profile that was written. 878 // profile that was written.
878 if (base::WriteFile( 879 if (base::WriteFile(
879 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) { 880 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) {
880 return Status(kUnknownError, "failed to write first run file"); 881 return Status(kUnknownError, "failed to write first run file");
881 } 882 }
882 return Status(kOk); 883 return Status(kOk);
883 } 884 }
884 885
885 } // namespace internal 886 } // namespace internal
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/test/run_py_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698