summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch')
-rw-r--r--www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch357
1 files changed, 194 insertions, 163 deletions
diff --git a/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
index a4d4885..198b00e 100644
--- a/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
+++ b/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
@@ -66,19 +66,8 @@ by default.
66 ui/views/examples/webview_example.cc | 2 +- 66 ui/views/examples/webview_example.cc | 2 +-
67 54 files changed, 89 insertions(+), 87 deletions(-) 67 54 files changed, 89 insertions(+), 87 deletions(-)
68 68
69--- a/ash/components/geolocation/simple_geolocation_provider.cc 69--- build/apple/tweak_info_plist.py.orig
70+++ b/ash/components/geolocation/simple_geolocation_provider.cc 70+++ build/apple/tweak_info_plist.py
71@@ -20,7 +20,7 @@ namespace ash {
72 namespace {
73
74 const char kDefaultGeolocationProviderUrl[] =
75- "https://www.googleapis.com/geolocation/v1/geolocate?";
76+ "trk:215:https://www.googleapis.com/geolocation/v1/geolocate?";
77
78 } // namespace
79
80--- a/build/apple/tweak_info_plist.py
81+++ b/build/apple/tweak_info_plist.py
82@@ -195,7 +195,7 @@ def _AddKeystoneKeys(plist, bundle_ident 71@@ -195,7 +195,7 @@ def _AddKeystoneKeys(plist, bundle_ident
83 also requires the |bundle_identifier| argument (com.example.product).""" 72 also requires the |bundle_identifier| argument (com.example.product)."""
84 plist['KSVersion'] = plist['CFBundleShortVersionString'] 73 plist['KSVersion'] = plist['CFBundleShortVersionString']
@@ -88,9 +77,9 @@ by default.
88 77
89 _RemoveKeys(plist, 'KSChannelID') 78 _RemoveKeys(plist, 'KSChannelID')
90 if base_tag != '': 79 if base_tag != '':
91--- a/chrome/browser/ash/customization/customization_document.cc 80--- chrome/browser/ash/customization/customization_document.cc.orig
92+++ b/chrome/browser/ash/customization/customization_document.cc 81+++ chrome/browser/ash/customization/customization_document.cc
93@@ -198,7 +198,7 @@ std::string ReadFileInBackground(const b 82@@ -175,7 +175,7 @@ std::string ReadFileInBackground(const b
94 83
95 // Template URL where to fetch OEM services customization manifest from. 84 // Template URL where to fetch OEM services customization manifest from.
96 const char ServicesCustomizationDocument::kManifestUrl[] = 85 const char ServicesCustomizationDocument::kManifestUrl[] =
@@ -99,9 +88,9 @@ by default.
99 88
100 // A custom extensions::ExternalLoader that the ServicesCustomizationDocument 89 // A custom extensions::ExternalLoader that the ServicesCustomizationDocument
101 // creates and uses to publish OEM default apps to the extensions system. 90 // creates and uses to publish OEM default apps to the extensions system.
102--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc 91--- chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc.orig
103+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc 92+++ chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
104@@ -92,7 +92,7 @@ namespace { 93@@ -87,7 +87,7 @@ namespace {
105 94
106 using api::file_manager_private::ProfileInfo; 95 using api::file_manager_private::ProfileInfo;
107 96
@@ -110,8 +99,8 @@ by default.
110 99
111 // Thresholds for mountCrostini() API. 100 // Thresholds for mountCrostini() API.
112 constexpr base::TimeDelta kMountCrostiniSlowOperationThreshold = 101 constexpr base::TimeDelta kMountCrostiniSlowOperationThreshold =
113--- a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc 102--- chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc.orig
114+++ b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc 103+++ chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
115@@ -52,8 +52,8 @@ namespace { 104@@ -52,8 +52,8 @@ namespace {
116 105
117 const char kGoogleDotCom[] = "google.com"; 106 const char kGoogleDotCom[] = "google.com";
@@ -123,9 +112,9 @@ by default.
123 112
124 // ContainsAppIdByHash returns true iff the SHA-256 hash of one of the 113 // ContainsAppIdByHash returns true iff the SHA-256 hash of one of the
125 // elements of |list| equals |hash|. 114 // elements of |list| equals |hash|.
126--- a/chrome/browser/extensions/install_signer.cc 115--- chrome/browser/extensions/install_signer.cc.orig
127+++ b/chrome/browser/extensions/install_signer.cc 116+++ chrome/browser/extensions/install_signer.cc
128@@ -66,7 +66,7 @@ const int kSignatureFormatVersion = 2; 117@@ -67,7 +67,7 @@ const int kSignatureFormatVersion = 2;
129 const size_t kSaltBytes = 32; 118 const size_t kSaltBytes = 32;
130 119
131 const char kBackendUrl[] = 120 const char kBackendUrl[] =
@@ -134,8 +123,8 @@ by default.
134 123
135 const char kPublicKeyPEM[] = \ 124 const char kPublicKeyPEM[] = \
136 "-----BEGIN PUBLIC KEY-----" \ 125 "-----BEGIN PUBLIC KEY-----" \
137--- a/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc 126--- chrome/browser/media/webrtc/webrtc_event_log_uploader.cc.orig
138+++ b/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc 127+++ chrome/browser/media/webrtc/webrtc_event_log_uploader.cc
139@@ -125,7 +125,7 @@ void OnURLLoadUploadProgress(uint64_t cu 128@@ -125,7 +125,7 @@ void OnURLLoadUploadProgress(uint64_t cu
140 } // namespace 129 } // namespace
141 130
@@ -145,8 +134,8 @@ by default.
145 134
146 WebRtcEventLogUploaderImpl::Factory::Factory( 135 WebRtcEventLogUploaderImpl::Factory::Factory(
147 scoped_refptr<base::SequencedTaskRunner> task_runner) 136 scoped_refptr<base::SequencedTaskRunner> task_runner)
148--- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc 137--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig
149+++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc 138+++ chrome/browser/media/webrtc/webrtc_log_uploader.cc
150@@ -485,7 +485,7 @@ void WebRtcLogUploader::UploadCompressed 139@@ -485,7 +485,7 @@ void WebRtcLogUploader::UploadCompressed
151 "Not implemented, it would be good to do so." 140 "Not implemented, it would be good to do so."
152 })"); 141 })");
@@ -156,8 +145,8 @@ by default.
156 auto resource_request = std::make_unique<network::ResourceRequest>(); 145 auto resource_request = std::make_unique<network::ResourceRequest>();
157 resource_request->url = !upload_url_for_testing_.is_empty() 146 resource_request->url = !upload_url_for_testing_.is_empty()
158 ? upload_url_for_testing_ 147 ? upload_url_for_testing_
159--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc 148--- chrome/browser/nacl_host/nacl_infobar_delegate.cc.orig
160+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc 149+++ chrome/browser/nacl_host/nacl_infobar_delegate.cc
161@@ -33,7 +33,7 @@ std::u16string NaClInfoBarDelegate::GetL 150@@ -33,7 +33,7 @@ std::u16string NaClInfoBarDelegate::GetL
162 } 151 }
163 152
@@ -167,8 +156,8 @@ by default.
167 } 156 }
168 157
169 std::u16string NaClInfoBarDelegate::GetMessageText() const { 158 std::u16string NaClInfoBarDelegate::GetMessageText() const {
170--- a/chrome/browser/profiles/profile_avatar_downloader.cc 159--- chrome/browser/profiles/profile_avatar_downloader.cc.orig
171+++ b/chrome/browser/profiles/profile_avatar_downloader.cc 160+++ chrome/browser/profiles/profile_avatar_downloader.cc
172@@ -20,7 +20,7 @@ 161@@ -20,7 +20,7 @@
173 162
174 namespace { 163 namespace {
@@ -178,8 +167,8 @@ by default.
178 } 167 }
179 168
180 ProfileAvatarDownloader::ProfileAvatarDownloader(size_t icon_index, 169 ProfileAvatarDownloader::ProfileAvatarDownloader(size_t icon_index,
181--- a/chrome/browser/resources/default_apps/external_extensions.json 170--- chrome/browser/resources/default_apps/external_extensions.json.orig
182+++ b/chrome/browser/resources/default_apps/external_extensions.json 171+++ chrome/browser/resources/default_apps/external_extensions.json
183@@ -23,17 +23,17 @@ 172@@ -23,17 +23,17 @@
184 }, 173 },
185 // Google Sheets 174 // Google Sheets
@@ -201,9 +190,9 @@ by default.
201 } 190 }
202 } 191 }
203 192
204--- a/chrome/browser/safe_browsing/download_protection/download_feedback.cc 193--- chrome/browser/safe_browsing/download_protection/download_feedback.cc.orig
205+++ b/chrome/browser/safe_browsing/download_protection/download_feedback.cc 194+++ chrome/browser/safe_browsing/download_protection/download_feedback.cc
206@@ -192,7 +192,7 @@ const int64_t DownloadFeedback::kMaxUplo 195@@ -202,7 +202,7 @@ const int64_t DownloadFeedback::kMaxUplo
207 196
208 // static 197 // static
209 const char DownloadFeedback::kSbFeedbackURL[] = 198 const char DownloadFeedback::kSbFeedbackURL[] =
@@ -212,8 +201,8 @@ by default.
212 201
213 // static 202 // static
214 DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr; 203 DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr;
215--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc 204--- chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc.orig
216+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc 205+++ chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
217@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi 206@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi
218 DCHECK(!bdict_file.empty()); 207 DCHECK(!bdict_file.empty());
219 208
@@ -223,9 +212,9 @@ by default.
223 212
224 return GURL(std::string(kDownloadServerUrl) + 213 return GURL(std::string(kDownloadServerUrl) +
225 base::ToLowerASCII(bdict_file)); 214 base::ToLowerASCII(bdict_file));
226--- a/chrome/browser/supervised_user/supervised_user_service.cc 215--- chrome/browser/supervised_user/supervised_user_service.cc.orig
227+++ b/chrome/browser/supervised_user/supervised_user_service.cc 216+++ chrome/browser/supervised_user/supervised_user_service.cc
228@@ -86,7 +86,7 @@ namespace { 217@@ -87,7 +87,7 @@ namespace {
229 218
230 // The URL from which to download a host denylist if no local one exists yet. 219 // The URL from which to download a host denylist if no local one exists yet.
231 const char kDenylistURL[] = 220 const char kDenylistURL[] =
@@ -234,9 +223,9 @@ by default.
234 // The filename under which we'll store the denylist (in the user data dir). The 223 // The filename under which we'll store the denylist (in the user data dir). The
235 // old file will be used as a backup in case the new file has not been loaded 224 // old file will be used as a backup in case the new file has not been loaded
236 // yet. 225 // yet.
237--- a/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc 226--- chrome/browser/ui/views/outdated_upgrade_bubble_view.cc.orig
238+++ b/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc 227+++ chrome/browser/ui/views/outdated_upgrade_bubble_view.cc
239@@ -50,7 +50,7 @@ const char* kUpdateBrowserRedirectUrl = 228@@ -54,7 +54,7 @@ const char* kUpdateBrowserRedirectUrl =
240 #else 229 #else
241 // The URL to be used to re-install Chrome when auto-update failed for 230 // The URL to be used to re-install Chrome when auto-update failed for
242 // too long. 231 // too long.
@@ -245,9 +234,9 @@ by default.
245 #endif 234 #endif
246 235
247 bool g_upgrade_bubble_is_showing = false; 236 bool g_upgrade_bubble_is_showing = false;
248--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc 237--- chrome/browser/ui/webui/ntp/ntp_resource_cache.cc.orig
249+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc 238+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
250@@ -71,17 +71,17 @@ namespace { 239@@ -67,17 +67,17 @@ namespace {
251 // The URL for the the Learn More page shown on incognito new tab. 240 // The URL for the the Learn More page shown on incognito new tab.
252 const char kLearnMoreIncognitoUrl[] = 241 const char kLearnMoreIncognitoUrl[] =
253 #if BUILDFLAG(IS_CHROMEOS_ASH) 242 #if BUILDFLAG(IS_CHROMEOS_ASH)
@@ -269,8 +258,8 @@ by default.
269 #endif 258 #endif
270 259
271 std::string ReplaceTemplateExpressions( 260 std::string ReplaceTemplateExpressions(
272--- a/chrome/chrome_cleaner/components/recovery_component.cc 261--- chrome/chrome_cleaner/components/recovery_component.cc.orig
273+++ b/chrome/chrome_cleaner/components/recovery_component.cc 262+++ chrome/chrome_cleaner/components/recovery_component.cc
274@@ -37,7 +37,7 @@ namespace chrome_cleaner { 263@@ -37,7 +37,7 @@ namespace chrome_cleaner {
275 namespace { 264 namespace {
276 265
@@ -280,8 +269,8 @@ by default.
280 "&installsource=swreporter&x=id%3Dnpdjjkjlcidkjlamlmmdelcjbcpdjocm" 269 "&installsource=swreporter&x=id%3Dnpdjjkjlcidkjlamlmmdelcjbcpdjocm"
281 "%26v%3D0.0.0.0%26uc&acceptformat=crx3"; 270 "%26v%3D0.0.0.0%26uc&acceptformat=crx3";
282 271
283--- a/chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc 272--- chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc.orig
284+++ b/chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc 273+++ chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc
285@@ -28,7 +28,7 @@ 274@@ -28,7 +28,7 @@
286 namespace { 275 namespace {
287 276
@@ -291,8 +280,8 @@ by default.
291 280
292 // Whether the current process is connected to a crash handler process. 281 // Whether the current process is connected to a crash handler process.
293 bool g_is_connected_to_crash_handler = false; 282 bool g_is_connected_to_crash_handler = false;
294--- a/chrome/common/extensions/chrome_extensions_client.cc 283--- chrome/common/extensions/chrome_extensions_client.cc.orig
295+++ b/chrome/common/extensions/chrome_extensions_client.cc 284+++ chrome/common/extensions/chrome_extensions_client.cc
296@@ -45,9 +45,9 @@ namespace { 285@@ -45,9 +45,9 @@ namespace {
297 286
298 // TODO(battre): Delete the HTTP URL once the blocklist is downloaded via HTTPS. 287 // TODO(battre): Delete the HTTP URL once the blocklist is downloaded via HTTPS.
@@ -303,10 +292,10 @@ by default.
303- "https://www.gstatic.com/chrome/extensions/blocklist"; 292- "https://www.gstatic.com/chrome/extensions/blocklist";
304+ "trk:270:https://www.gstatic.com/chrome/extensions/blocklist"; 293+ "trk:270:https://www.gstatic.com/chrome/extensions/blocklist";
305 294
306 } // namespace 295 const char kThumbsWhiteListedExtension[] = "khopmbdjffemhegeeobelklnbglcdgfh";
307 296
308--- a/chrome/installer/setup/google_chrome_behaviors.cc 297--- chrome/installer/setup/google_chrome_behaviors.cc.orig
309+++ b/chrome/installer/setup/google_chrome_behaviors.cc 298+++ chrome/installer/setup/google_chrome_behaviors.cc
310@@ -37,7 +37,7 @@ namespace installer { 299@@ -37,7 +37,7 @@ namespace installer {
311 namespace { 300 namespace {
312 301
@@ -316,8 +305,19 @@ by default.
316 305
317 bool NavigateToUrlWithEdge(const std::wstring& url) { 306 bool NavigateToUrlWithEdge(const std::wstring& url) {
318 std::wstring protocol_url = L"microsoft-edge:" + url; 307 std::wstring protocol_url = L"microsoft-edge:" + url;
319--- a/chromecast/crash/linux/minidump_uploader.cc 308--- chromecast/browser/service/cast_service_simple.cc.orig
320+++ b/chromecast/crash/linux/minidump_uploader.cc 309+++ chromecast/browser/service/cast_service_simple.cc
310@@ -27,7 +27,7 @@ GURL GetStartupURL() {
311 const base::CommandLine::StringVector& args = command_line->GetArgs();
312
313 if (args.empty())
314- return GURL("http://www.google.com/");
315+ return GURL("trk:255:http://www.google.com/");
316
317 GURL url(args[0]);
318 if (url.is_valid() && url.has_scheme())
319--- chromecast/crash/linux/minidump_uploader.cc.orig
320+++ chromecast/crash/linux/minidump_uploader.cc
321@@ -41,7 +41,7 @@ namespace { 321@@ -41,7 +41,7 @@ namespace {
322 322
323 const char kProductName[] = "Eureka"; 323 const char kProductName[] = "Eureka";
@@ -327,8 +327,19 @@ by default.
327 327
328 const char kVirtualChannel[] = "virtual-channel"; 328 const char kVirtualChannel[] = "virtual-channel";
329 329
330--- a/components/cloud_devices/common/cloud_devices_urls.cc 330--- chromeos/geolocation/simple_geolocation_provider.cc.orig
331+++ b/components/cloud_devices/common/cloud_devices_urls.cc 331+++ chromeos/geolocation/simple_geolocation_provider.cc
332@@ -20,7 +20,7 @@ namespace chromeos {
333 namespace {
334
335 const char kDefaultGeolocationProviderUrl[] =
336- "https://www.googleapis.com/geolocation/v1/geolocate?";
337+ "trk:215:https://www.googleapis.com/geolocation/v1/geolocate?";
338
339 } // namespace
340
341--- components/cloud_devices/common/cloud_devices_urls.cc.orig
342+++ components/cloud_devices/common/cloud_devices_urls.cc
332@@ -13,14 +13,14 @@ 343@@ -13,14 +13,14 @@
333 namespace cloud_devices { 344 namespace cloud_devices {
334 345
@@ -346,8 +357,8 @@ by default.
346 357
347 } 358 }
348 359
349--- a/components/drive/service/drive_api_service.cc 360--- components/drive/service/drive_api_service.cc.orig
350+++ b/components/drive/service/drive_api_service.cc 361+++ components/drive/service/drive_api_service.cc
351@@ -75,9 +75,9 @@ namespace drive { 362@@ -75,9 +75,9 @@ namespace drive {
352 namespace { 363 namespace {
353 364
@@ -360,9 +371,9 @@ by default.
360 const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps"; 371 const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps";
361 372
362 // Mime type to create a directory. 373 // Mime type to create a directory.
363--- a/components/feedback/feedback_uploader.cc 374--- components/feedback/feedback_uploader.cc.orig
364+++ b/components/feedback/feedback_uploader.cc 375+++ components/feedback/feedback_uploader.cc
365@@ -39,7 +39,7 @@ constexpr base::FilePath::CharType kFeed 376@@ -27,7 +27,7 @@ constexpr base::FilePath::CharType kFeed
366 FILE_PATH_LITERAL("Feedback Reports"); 377 FILE_PATH_LITERAL("Feedback Reports");
367 378
368 constexpr char kFeedbackPostUrl[] = 379 constexpr char kFeedbackPostUrl[] =
@@ -371,9 +382,9 @@ by default.
371 382
372 constexpr char kProtoBufMimeType[] = "application/x-protobuf"; 383 constexpr char kProtoBufMimeType[] = "application/x-protobuf";
373 384
374--- a/components/google/core/common/google_util.cc 385--- components/google/core/common/google_util.cc.orig
375+++ b/components/google/core/common/google_util.cc 386+++ components/google/core/common/google_util.cc
376@@ -142,7 +142,7 @@ bool IsGoogleSearchSubdomainUrl(const GU 387@@ -143,7 +143,7 @@ bool IsGoogleSearchSubdomainUrl(const GU
377 388
378 // Global functions ----------------------------------------------------------- 389 // Global functions -----------------------------------------------------------
379 390
@@ -382,9 +393,9 @@ by default.
382 393
383 bool HasGoogleSearchQueryParam(base::StringPiece str) { 394 bool HasGoogleSearchQueryParam(base::StringPiece str) {
384 url::Component query(0, static_cast<int>(str.length())), key, value; 395 url::Component query(0, static_cast<int>(str.length())), key, value;
385--- a/components/history/core/browser/web_history_service.cc 396--- components/history/core/browser/web_history_service.cc.orig
386+++ b/components/history/core/browser/web_history_service.cc 397+++ components/history/core/browser/web_history_service.cc
387@@ -43,13 +43,13 @@ namespace history { 398@@ -42,13 +42,13 @@ namespace history {
388 namespace { 399 namespace {
389 400
390 const char kHistoryOAuthScope[] = 401 const char kHistoryOAuthScope[] =
@@ -401,8 +412,8 @@ by default.
401 412
402 const char kHistoryAudioHistoryUrl[] = 413 const char kHistoryAudioHistoryUrl[] =
403 "https://history.google.com/history/api/lookup?client=audio"; 414 "https://history.google.com/history/api/lookup?client=audio";
404--- a/components/metrics/url_constants.cc 415--- components/metrics/url_constants.cc.orig
405+++ b/components/metrics/url_constants.cc 416+++ components/metrics/url_constants.cc
406@@ -7,7 +7,7 @@ 417@@ -7,7 +7,7 @@
407 namespace metrics { 418 namespace metrics {
408 419
@@ -412,8 +423,8 @@ by default.
412 423
413 const char kNewMetricsServerUrlInsecure[] = 424 const char kNewMetricsServerUrlInsecure[] =
414 "http://clientservices.googleapis.com/uma/v2"; 425 "http://clientservices.googleapis.com/uma/v2";
415--- a/components/safe_browsing/content/browser/client_side_detection_service.cc 426--- components/safe_browsing/content/browser/client_side_detection_service.cc.orig
416+++ b/components/safe_browsing/content/browser/client_side_detection_service.cc 427+++ components/safe_browsing/content/browser/client_side_detection_service.cc
417@@ -62,7 +62,7 @@ const int ClientSideDetectionService::kN 428@@ -62,7 +62,7 @@ const int ClientSideDetectionService::kN
418 const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30; 429 const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30;
419 430
@@ -423,8 +434,8 @@ by default.
423 434
424 struct ClientSideDetectionService::ClientPhishingReportInfo { 435 struct ClientSideDetectionService::ClientPhishingReportInfo {
425 std::unique_ptr<network::SimpleURLLoader> loader; 436 std::unique_ptr<network::SimpleURLLoader> loader;
426--- a/components/safe_search_api/safe_search/safe_search_url_checker_client.cc 437--- components/safe_search_api/safe_search/safe_search_url_checker_client.cc.orig
427+++ b/components/safe_search_api/safe_search/safe_search_url_checker_client.cc 438+++ components/safe_search_api/safe_search/safe_search_url_checker_client.cc
428@@ -28,7 +28,7 @@ namespace safe_search_api { 439@@ -28,7 +28,7 @@ namespace safe_search_api {
429 namespace { 440 namespace {
430 441
@@ -434,8 +445,8 @@ by default.
434 const char kDataContentType[] = "application/x-www-form-urlencoded"; 445 const char kDataContentType[] = "application/x-www-form-urlencoded";
435 const char kDataFormat[] = "key=%s&urls=%s"; 446 const char kDataFormat[] = "key=%s&urls=%s";
436 447
437--- a/components/safe_search_api/stub_url_checker.cc 448--- components/safe_search_api/stub_url_checker.cc.orig
438+++ b/components/safe_search_api/stub_url_checker.cc 449+++ components/safe_search_api/stub_url_checker.cc
439@@ -21,7 +21,7 @@ namespace safe_search_api { 450@@ -21,7 +21,7 @@ namespace safe_search_api {
440 namespace { 451 namespace {
441 452
@@ -444,9 +455,9 @@ by default.
444+ "trk:238:https://safesearch.googleapis.com/v1:classify"; 455+ "trk:238:https://safesearch.googleapis.com/v1:classify";
445 456
446 std::string BuildResponse(bool is_porn) { 457 std::string BuildResponse(bool is_porn) {
447 base::Value dict(base::Value::Type::DICTIONARY); 458 base::DictionaryValue dict;
448--- a/components/translate/core/browser/translate_url_fetcher.cc 459--- components/translate/core/browser/translate_url_fetcher.cc.orig
449+++ b/components/translate/core/browser/translate_url_fetcher.cc 460+++ components/translate/core/browser/translate_url_fetcher.cc
450@@ -99,6 +99,7 @@ bool TranslateURLFetcher::Request(const 461@@ -99,6 +99,7 @@ bool TranslateURLFetcher::Request(const
451 if (!extra_request_header_.empty()) 462 if (!extra_request_header_.empty())
452 resource_request->headers.AddHeaderFromString(extra_request_header_); 463 resource_request->headers.AddHeaderFromString(extra_request_header_);
@@ -455,9 +466,9 @@ by default.
455 simple_loader_ = 466 simple_loader_ =
456 variations::CreateSimpleURLLoaderWithVariationsHeaderUnknownSignedIn( 467 variations::CreateSimpleURLLoaderWithVariationsHeaderUnknownSignedIn(
457 std::move(resource_request), 468 std::move(resource_request),
458--- a/components/translate/core/common/translate_util.cc 469--- components/translate/core/common/translate_util.cc.orig
459+++ b/components/translate/core/common/translate_util.cc 470+++ components/translate/core/common/translate_util.cc
460@@ -21,7 +21,7 @@ const char kDetectLanguageInSubFrames[] 471@@ -20,7 +20,7 @@ const char kDetectLanguageInSubFrames[]
461 472
462 } // namespace 473 } // namespace
463 474
@@ -466,8 +477,8 @@ by default.
466 477
467 const base::Feature kTranslateSubFrames{"TranslateSubFrames", 478 const base::Feature kTranslateSubFrames{"TranslateSubFrames",
468 base::FEATURE_DISABLED_BY_DEFAULT}; 479 base::FEATURE_DISABLED_BY_DEFAULT};
469--- a/components/variations/variations_url_constants.cc 480--- components/variations/variations_url_constants.cc.orig
470+++ b/components/variations/variations_url_constants.cc 481+++ components/variations/variations_url_constants.cc
471@@ -8,7 +8,7 @@ namespace variations { 482@@ -8,7 +8,7 @@ namespace variations {
472 483
473 // Default server of Variations seed info. 484 // Default server of Variations seed info.
@@ -477,8 +488,8 @@ by default.
477 488
478 const char kDefaultInsecureServerUrl[] = 489 const char kDefaultInsecureServerUrl[] =
479 "http://clientservices.googleapis.com/chrome-variations/seed"; 490 "http://clientservices.googleapis.com/chrome-variations/seed";
480--- a/content/browser/speech/speech_recognition_engine.cc 491--- content/browser/speech/speech_recognition_engine.cc.orig
481+++ b/content/browser/speech/speech_recognition_engine.cc 492+++ content/browser/speech/speech_recognition_engine.cc
482@@ -33,7 +33,7 @@ namespace content { 493@@ -33,7 +33,7 @@ namespace content {
483 namespace { 494 namespace {
484 495
@@ -488,9 +499,9 @@ by default.
488 const char kDownstreamUrl[] = "/down?"; 499 const char kDownstreamUrl[] = "/down?";
489 const char kUpstreamUrl[] = "/up?"; 500 const char kUpstreamUrl[] = "/up?";
490 501
491--- a/content/browser/webauth/authenticator_common.cc 502--- content/browser/webauth/authenticator_common.cc.orig
492+++ b/content/browser/webauth/authenticator_common.cc 503+++ content/browser/webauth/authenticator_common.cc
493@@ -91,9 +91,9 @@ enum class RequestExtension { 504@@ -88,9 +88,9 @@ enum class RequestExtension {
494 namespace { 505 namespace {
495 506
496 constexpr char kGstaticAppId[] = 507 constexpr char kGstaticAppId[] =
@@ -502,19 +513,19 @@ by default.
502 513
503 WebAuthenticationDelegate* GetWebAuthenticationDelegate() { 514 WebAuthenticationDelegate* GetWebAuthenticationDelegate() {
504 return GetContentClient()->browser()->GetWebAuthenticationDelegate(); 515 return GetContentClient()->browser()->GetWebAuthenticationDelegate();
505--- a/content/shell/browser/shell_browser_main_parts.cc 516--- content/shell/browser/shell_browser_main_parts.cc.orig
506+++ b/content/shell/browser/shell_browser_main_parts.cc 517+++ content/shell/browser/shell_browser_main_parts.cc
507@@ -84,7 +84,7 @@ GURL GetStartupURL() { 518@@ -96,7 +96,7 @@ GURL GetStartupURL() {
508 #else 519 #else
509 const base::CommandLine::StringVector& args = command_line->GetArgs(); 520 const base::CommandLine::StringVector& args = command_line->GetArgs();
510 if (args.empty()) 521 if (args.empty())
511- return GURL("https://www.google.com/"); 522- return GURL("https://www.google.com/");
512+ return GURL("trk:183:https://www.google.com/"); 523+ return GURL("trk:183:https://www.google.com/");
513 524
514 #if BUILDFLAG(IS_WIN) 525 #if defined(OS_WIN)
515 GURL url(base::WideToUTF16(args[0])); 526 GURL url(base::WideToUTF16(args[0]));
516--- a/extensions/common/extension_urls.cc 527--- extensions/common/extension_urls.cc.orig
517+++ b/extensions/common/extension_urls.cc 528+++ extensions/common/extension_urls.cc
518@@ -26,9 +26,9 @@ bool IsSourceFromAnExtension(const std:: 529@@ -26,9 +26,9 @@ bool IsSourceFromAnExtension(const std::
519 530
520 namespace extension_urls { 531 namespace extension_urls {
@@ -527,9 +538,9 @@ by default.
527 538
528 GURL GetWebstoreLaunchURL() { 539 GURL GetWebstoreLaunchURL() {
529 extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get(); 540 extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get();
530--- a/google_apis/gaia/gaia_constants.cc 541--- google_apis/gaia/gaia_constants.cc.orig
531+++ b/google_apis/gaia/gaia_constants.cc 542+++ google_apis/gaia/gaia_constants.cc
532@@ -25,149 +25,149 @@ const char kSyncService[] = "chromiumsyn 543@@ -25,133 +25,133 @@ const char kSyncService[] = "chromiumsyn
533 const char kRemotingService[] = "chromoting"; 544 const char kRemotingService[] = "chromoting";
534 545
535 // OAuth scopes. 546 // OAuth scopes.
@@ -582,145 +593,125 @@ by default.
582- "https://www.googleapis.com/auth/userinfo.profile"; 593- "https://www.googleapis.com/auth/userinfo.profile";
583+ "trk:079:https://www.googleapis.com/auth/userinfo.profile"; 594+ "trk:079:https://www.googleapis.com/auth/userinfo.profile";
584 595
585 // OAuth2 scope for access to the parent approval widget.
586 const char kParentApprovalOAuth2Scope[] =
587- "https://www.googleapis.com/auth/kids.parentapproval";
588+ "trk:080:https://www.googleapis.com/auth/kids.parentapproval";
589
590 // OAuth2 scope for access to the people API (read-only). 596 // OAuth2 scope for access to the people API (read-only).
591 const char kPeopleApiReadOnlyOAuth2Scope[] = 597 const char kPeopleApiReadOnlyOAuth2Scope[] =
592- "https://www.googleapis.com/auth/peopleapi.readonly"; 598- "https://www.googleapis.com/auth/peopleapi.readonly";
593+ "trk:081:https://www.googleapis.com/auth/peopleapi.readonly"; 599+ "trk:080:https://www.googleapis.com/auth/peopleapi.readonly";
594
595 // OAuth2 scope for access to the programmatic challenge API (read-only).
596 const char kProgrammaticChallengeOAuth2Scope[] =
597- "https://www.googleapis.com/auth/accounts.programmaticchallenge";
598+ "trk:082:https://www.googleapis.com/auth/accounts.programmaticchallenge";
599 600
600 // OAuth2 scope for access to the Reauth flow. 601 // OAuth2 scope for access to the Reauth flow.
601 const char kAccountsReauthOAuth2Scope[] = 602 const char kAccountsReauthOAuth2Scope[] =
602- "https://www.googleapis.com/auth/accounts.reauth"; 603- "https://www.googleapis.com/auth/accounts.reauth";
603+ "trk:083:https://www.googleapis.com/auth/accounts.reauth"; 604+ "trk:081:https://www.googleapis.com/auth/accounts.reauth";
604 605
605 // OAuth2 scope for access to audit recording (ARI). 606 // OAuth2 scope for access to audit recording (ARI).
606 const char kAuditRecordingOAuth2Scope[] = 607 const char kAuditRecordingOAuth2Scope[] =
607- "https://www.googleapis.com/auth/auditrecording-pa"; 608- "https://www.googleapis.com/auth/auditrecording-pa";
608+ "trk:084:https://www.googleapis.com/auth/auditrecording-pa"; 609+ "trk:082:https://www.googleapis.com/auth/auditrecording-pa";
609 610
610 // OAuth2 scope for access to clear cut logs. 611 // OAuth2 scope for access to clear cut logs.
611-const char kClearCutOAuth2Scope[] = "https://www.googleapis.com/auth/cclog"; 612-const char kClearCutOAuth2Scope[] = "https://www.googleapis.com/auth/cclog";
612+const char kClearCutOAuth2Scope[] = "trk:085:https://www.googleapis.com/auth/cclog"; 613+const char kClearCutOAuth2Scope[] = "trk:083:https://www.googleapis.com/auth/cclog";
613 614
614 // OAuth2 scope for FCM, the Firebase Cloud Messaging service. 615 // OAuth2 scope for FCM, the Firebase Cloud Messaging service.
615 const char kFCMOAuthScope[] = 616 const char kFCMOAuthScope[] =
616- "https://www.googleapis.com/auth/firebase.messaging"; 617- "https://www.googleapis.com/auth/firebase.messaging";
617+ "trk:086:https://www.googleapis.com/auth/firebase.messaging"; 618+ "trk:084:https://www.googleapis.com/auth/firebase.messaging";
618 619
619 // OAuth2 scope for access to Tachyon api. 620 // OAuth2 scope for access to Tachyon api.
620-const char kTachyonOAuthScope[] = "https://www.googleapis.com/auth/tachyon"; 621-const char kTachyonOAuthScope[] = "https://www.googleapis.com/auth/tachyon";
621+const char kTachyonOAuthScope[] = "trk:087:https://www.googleapis.com/auth/tachyon"; 622+const char kTachyonOAuthScope[] = "trk:085:https://www.googleapis.com/auth/tachyon";
622 623
623 // OAuth2 scope for access to the Photos API. 624 // OAuth2 scope for access to the Photos API.
624-const char kPhotosOAuth2Scope[] = "https://www.googleapis.com/auth/photos"; 625-const char kPhotosOAuth2Scope[] = "https://www.googleapis.com/auth/photos";
625+const char kPhotosOAuth2Scope[] = "trk:088:https://www.googleapis.com/auth/photos"; 626+const char kPhotosOAuth2Scope[] = "trk:086:https://www.googleapis.com/auth/photos";
626 627
627 // OAuth2 scope for access to Cast backdrop API. 628 // OAuth2 scope for access to Cast backdrop API.
628 const char kCastBackdropOAuth2Scope[] = 629 const char kCastBackdropOAuth2Scope[] =
629- "https://www.googleapis.com/auth/cast.backdrop"; 630- "https://www.googleapis.com/auth/cast.backdrop";
630+ "trk:089:https://www.googleapis.com/auth/cast.backdrop"; 631+ "trk:087:https://www.googleapis.com/auth/cast.backdrop";
631 632
632 // OAuth scope for access to Cloud Translation API. 633 // OAuth scope for access to Cloud Translation API.
633 const char kCloudTranslationOAuth2Scope[] = 634 const char kCloudTranslationOAuth2Scope[] =
634- "https://www.googleapis.com/auth/cloud-translation"; 635- "https://www.googleapis.com/auth/cloud-translation";
635+ "trk:090:https://www.googleapis.com/auth/cloud-translation"; 636+ "trk:088:https://www.googleapis.com/auth/cloud-translation";
636 637
637 // OAuth2 scope for access to passwords leak checking API. 638 // OAuth2 scope for access to passwords leak checking API.
638 const char kPasswordsLeakCheckOAuth2Scope[] = 639 const char kPasswordsLeakCheckOAuth2Scope[] =
639- "https://www.googleapis.com/auth/identity.passwords.leak.check"; 640- "https://www.googleapis.com/auth/identity.passwords.leak.check";
640+ "trk:091:https://www.googleapis.com/auth/identity.passwords.leak.check"; 641+ "trk:089:https://www.googleapis.com/auth/identity.passwords.leak.check";
641 642
642 // OAuth2 scope for access to Chrome safe browsing API. 643 // OAuth2 scope for access to Chrome safe browsing API.
643 const char kChromeSafeBrowsingOAuth2Scope[] = 644 const char kChromeSafeBrowsingOAuth2Scope[] =
644- "https://www.googleapis.com/auth/chrome-safe-browsing"; 645- "https://www.googleapis.com/auth/chrome-safe-browsing";
645+ "trk:092:https://www.googleapis.com/auth/chrome-safe-browsing"; 646+ "trk:090:https://www.googleapis.com/auth/chrome-safe-browsing";
646 647
647 // OAuth2 scope for access to kid permissions by URL. 648 // OAuth2 scope for access to kid permissions by URL.
648 const char kClassifyUrlKidPermissionOAuth2Scope[] = 649 const char kClassifyUrlKidPermissionOAuth2Scope[] =
649- "https://www.googleapis.com/auth/kid.permission"; 650- "https://www.googleapis.com/auth/kid.permission";
650+ "trk:093:https://www.googleapis.com/auth/kid.permission"; 651+ "trk:091:https://www.googleapis.com/auth/kid.permission";
651 const char kKidFamilyReadonlyOAuth2Scope[] = 652 const char kKidFamilyReadonlyOAuth2Scope[] =
652- "https://www.googleapis.com/auth/kid.family.readonly"; 653- "https://www.googleapis.com/auth/kid.family.readonly";
653+ "trk:094:https://www.googleapis.com/auth/kid.family.readonly"; 654+ "trk:092:https://www.googleapis.com/auth/kid.family.readonly";
654 655
655 // OAuth2 scope for access to payments. 656 // OAuth2 scope for access to payments.
656 const char kPaymentsOAuth2Scope[] = 657 const char kPaymentsOAuth2Scope[] =
657- "https://www.googleapis.com/auth/wallet.chrome"; 658- "https://www.googleapis.com/auth/wallet.chrome";
658+ "trk:095:https://www.googleapis.com/auth/wallet.chrome"; 659+ "trk:093:https://www.googleapis.com/auth/wallet.chrome";
659 660
660 const char kCryptAuthOAuth2Scope[] = 661 const char kCryptAuthOAuth2Scope[] =
661- "https://www.googleapis.com/auth/cryptauth"; 662- "https://www.googleapis.com/auth/cryptauth";
662+ "trk:096:https://www.googleapis.com/auth/cryptauth"; 663+ "trk:094:https://www.googleapis.com/auth/cryptauth";
663 664
664 // OAuth2 scope for access to Drive. 665 // OAuth2 scope for access to Drive.
665-const char kDriveOAuth2Scope[] = "https://www.googleapis.com/auth/drive"; 666-const char kDriveOAuth2Scope[] = "https://www.googleapis.com/auth/drive";
666+const char kDriveOAuth2Scope[] = "trk:097:https://www.googleapis.com/auth/drive"; 667+const char kDriveOAuth2Scope[] = "trk:095:https://www.googleapis.com/auth/drive";
667 668
668 // The scope required for an access token in order to query ItemSuggest. 669 // The scope required for an access token in order to query ItemSuggest.
669 const char kDriveReadOnlyOAuth2Scope[] = 670 const char kDriveReadOnlyOAuth2Scope[] =
670- "https://www.googleapis.com/auth/drive.readonly"; 671- "https://www.googleapis.com/auth/drive.readonly";
671+ "trk:098:https://www.googleapis.com/auth/drive.readonly"; 672+ "trk:096:https://www.googleapis.com/auth/drive.readonly";
672 673
673 // OAuth2 scope for access to Assistant SDK. 674 // OAuth2 scope for access to Assistant SDK.
674 const char kAssistantOAuth2Scope[] = 675 const char kAssistantOAuth2Scope[] =
675- "https://www.googleapis.com/auth/assistant-sdk-prototype"; 676- "https://www.googleapis.com/auth/assistant-sdk-prototype";
676+ "trk:099:https://www.googleapis.com/auth/assistant-sdk-prototype"; 677+ "trk:097:https://www.googleapis.com/auth/assistant-sdk-prototype";
677 678
678 // OAuth2 scope for access to nearby devices (fast pair) APIs. 679 // OAuth2 scope for access to nearby devices (fast pair) APIs.
679 const char kCloudPlatformProjectsOAuth2Scope[] = 680 const char kCloudPlatformProjectsOAuth2Scope[] =
680- "https://www.googleapis.com/auth/cloudplatformprojects"; 681- "https://www.googleapis.com/auth/cloudplatformprojects";
681+ "trk:100:https://www.googleapis.com/auth/cloudplatformprojects"; 682+ "trk:098:https://www.googleapis.com/auth/cloudplatformprojects";
682 683
683 // OAuth2 scope for access to nearby sharing. 684 // OAuth2 scope for access to nearby sharing.
684 const char kNearbyShareOAuth2Scope[] = 685 const char kNearbyShareOAuth2Scope[] =
685- "https://www.googleapis.com/auth/nearbysharing-pa"; 686- "https://www.googleapis.com/auth/nearbysharing-pa";
686+ "trk:101:https://www.googleapis.com/auth/nearbysharing-pa"; 687+ "trk:099:https://www.googleapis.com/auth/nearbysharing-pa";
687 688
688 // OAuth2 scopes for access to GCM account tracker. 689 // OAuth2 scopes for access to GCM account tracker.
689-const char kGCMGroupServerOAuth2Scope[] = "https://www.googleapis.com/auth/gcm"; 690-const char kGCMGroupServerOAuth2Scope[] = "https://www.googleapis.com/auth/gcm";
690+const char kGCMGroupServerOAuth2Scope[] = "trk:102:https://www.googleapis.com/auth/gcm"; 691+const char kGCMGroupServerOAuth2Scope[] = "trk:100:https://www.googleapis.com/auth/gcm";
691 const char kGCMCheckinServerOAuth2Scope[] = 692 const char kGCMCheckinServerOAuth2Scope[] =
692- "https://www.googleapis.com/auth/android_checkin"; 693- "https://www.googleapis.com/auth/android_checkin";
693+ "trk:103:https://www.googleapis.com/auth/android_checkin"; 694+ "trk:101:https://www.googleapis.com/auth/android_checkin";
694 695
695 // OAuth2 scope for access to readonly Chrome web store. 696 // OAuth2 scope for access to readonly Chrome web store.
696 const char kChromeWebstoreOAuth2Scope[] = 697 const char kChromeWebstoreOAuth2Scope[] =
697- "https://www.googleapis.com/auth/chromewebstore.readonly"; 698- "https://www.googleapis.com/auth/chromewebstore.readonly";
698+ "trk:104:https://www.googleapis.com/auth/chromewebstore.readonly"; 699+ "trk:102:https://www.googleapis.com/auth/chromewebstore.readonly";
699 700
700 // OAuth2 scope for access to Account Capabilities API. 701 // OAuth2 scope for access to Account Capabilities API.
701 const char kAccountCapabilitiesOAuth2Scope[] = 702 const char kAccountCapabilitiesOAuth2Scope[] =
702- "https://www.googleapis.com/auth/account.capabilities"; 703- "https://www.googleapis.com/auth/account.capabilities";
703+ "trk:105:https://www.googleapis.com/auth/account.capabilities"; 704+ "trk:103:https://www.googleapis.com/auth/account.capabilities";
704 705
705 // OAuth2 scope for support content API. 706 // OAuth2 scope for support content API.
706 const char kSupportContentOAuth2Scope[] = 707 const char kSupportContentOAuth2Scope[] =
707- "https://www.googleapis.com/auth/supportcontent"; 708- "https://www.googleapis.com/auth/supportcontent";
708+ "trk:106:https://www.googleapis.com/auth/supportcontent"; 709+ "trk:104:https://www.googleapis.com/auth/supportcontent";
709 710
710 // OAuth 2 scope for NTP Photos module API. 711 // OAuth 2 scope for NTP Photos module API.
711 const char kPhotosModuleOAuth2Scope[] = 712 const char kPhotosModuleOAuth2Scope[] =
712- "https://www.googleapis.com/auth/photos.firstparty.readonly"; 713--- google_apis/gaia/gaia_urls.cc.orig
713+ "trk:107:https://www.googleapis.com/auth/photos.firstparty.readonly"; 714+++ google_apis/gaia/gaia_urls.cc
714
715 // OAuth 2 scope for NTP Photos module image API.
716 const char kPhotosModuleImageOAuth2Scope[] =
717- "https://www.googleapis.com/auth/photos.image.readonly";
718+ "trk:108:https://www.googleapis.com/auth/photos.image.readonly";
719
720 // Used to mint uber auth tokens when needed.
721 const char kGaiaSid[] = "sid";
722--- a/google_apis/gaia/gaia_urls.cc
723+++ b/google_apis/gaia/gaia_urls.cc
724@@ -24,6 +24,7 @@ 715@@ -24,6 +24,7 @@
725 namespace { 716 namespace {
726 717
@@ -729,8 +720,8 @@ by default.
729 const char kDefaultGoogleUrl[] = "http://google.com"; 720 const char kDefaultGoogleUrl[] = "http://google.com";
730 const char kDefaultGaiaUrl[] = "https://accounts.google.com"; 721 const char kDefaultGaiaUrl[] = "https://accounts.google.com";
731 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com"; 722 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com";
732--- a/google_apis/gcm/engine/gservices_settings.cc 723--- google_apis/gcm/engine/gservices_settings.cc.orig
733+++ b/google_apis/gcm/engine/gservices_settings.cc 724+++ google_apis/gcm/engine/gservices_settings.cc
734@@ -30,18 +30,18 @@ const char kRegistrationURLKey[] = "gcm_ 725@@ -30,18 +30,18 @@ const char kRegistrationURLKey[] = "gcm_
735 726
736 const int64_t kDefaultCheckinInterval = 2 * 24 * 60 * 60; // seconds = 2 days. 727 const int64_t kDefaultCheckinInterval = 2 * 24 * 60 * 60; // seconds = 2 days.
@@ -753,8 +744,19 @@ by default.
753 const int kMaxSecurePort = 65535; 744 const int kMaxSecurePort = 65535;
754 745
755 std::string MakeMCSEndpoint(const std::string& mcs_hostname, int port) { 746 std::string MakeMCSEndpoint(const std::string& mcs_hostname, int port) {
756--- a/remoting/base/breakpad_mac.mm 747--- jingle/notifier/base/gaia_token_pre_xmpp_auth.cc.orig
757+++ b/remoting/base/breakpad_mac.mm 748+++ jingle/notifier/base/gaia_token_pre_xmpp_auth.cc
749@@ -36,7 +36,7 @@ class GaiaCookieMechanism : public jingl
750 // These attributes are necessary for working with non-gmail gaia
751 // accounts.
752 const std::string NS_GOOGLE_AUTH_PROTOCOL(
753- "http://www.google.com/talk/protocol/auth");
754+ "trk:179:http://www.google.com/talk/protocol/auth");
755 const jingle_xmpp::QName QN_GOOGLE_ALLOW_GENERATED_JID_XMPP_LOGIN(
756 NS_GOOGLE_AUTH_PROTOCOL, "allow-generated-jid");
757 const jingle_xmpp::QName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT(
758--- remoting/base/breakpad_mac.mm.orig
759+++ remoting/base/breakpad_mac.mm
758@@ -50,7 +50,7 @@ void InitializeCrashReporting() { 760@@ -50,7 +50,7 @@ void InitializeCrashReporting() {
759 breakpad_config[@BREAKPAD_REPORT_INTERVAL] = @"21600"; 761 breakpad_config[@BREAKPAD_REPORT_INTERVAL] = @"21600";
760 } 762 }
@@ -764,8 +766,8 @@ by default.
764 } 766 }
765 767
766 if (!BreakpadCreate(breakpad_config)) { 768 if (!BreakpadCreate(breakpad_config)) {
767--- a/remoting/protocol/jingle_messages.cc 769--- remoting/protocol/jingle_messages.cc.orig
768+++ b/remoting/protocol/jingle_messages.cc 770+++ remoting/protocol/jingle_messages.cc
769@@ -27,7 +27,7 @@ const char kJabberNamespace[] = "jabber: 771@@ -27,7 +27,7 @@ const char kJabberNamespace[] = "jabber:
770 const char kJingleNamespace[] = "urn:xmpp:jingle:1"; 772 const char kJingleNamespace[] = "urn:xmpp:jingle:1";
771 773
@@ -775,8 +777,8 @@ by default.
775 777
776 const char kWebrtcTransportNamespace[] = "google:remoting:webrtc"; 778 const char kWebrtcTransportNamespace[] = "google:remoting:webrtc";
777 779
778--- a/rlz/lib/lib_values.cc 780--- rlz/lib/lib_values.cc.orig
779+++ b/rlz/lib/lib_values.cc 781+++ rlz/lib/lib_values.cc
780@@ -40,7 +40,7 @@ const char kSetDccResponseVariable[] = " 782@@ -40,7 +40,7 @@ const char kSetDccResponseVariable[] = "
781 // 783 //
782 784
@@ -786,8 +788,37 @@ by default.
786 const int kFinancialPort = 443; 788 const int kFinancialPort = 443;
787 789
788 // Ping times in 100-nanosecond intervals. 790 // Ping times in 100-nanosecond intervals.
789--- a/ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js 791--- third_party/libjingle_xmpp/xmpp/constants.cc.orig
790+++ b/ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js 792+++ third_party/libjingle_xmpp/xmpp/constants.cc
793@@ -194,7 +194,7 @@ const StaticQName QN_SASL_TEMPORARY_AUTH
794
795 // These are non-standard.
796 const char NS_GOOGLE_AUTH_PROTOCOL[] =
797- "http://www.google.com/talk/protocol/auth";
798+ "trk:236:http://www.google.com/talk/protocol/auth";
799 const StaticQName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT =
800 { NS_GOOGLE_AUTH_PROTOCOL, "client-uses-full-bind-result" };
801 const StaticQName QN_GOOGLE_ALLOW_NON_GOOGLE_ID_XMPP_LOGIN =
802@@ -338,7 +338,7 @@ const char STR_SHOW_DND[] = "dnd";
803 const char STR_SHOW_XA[] = "xa";
804 const char STR_SHOW_OFFLINE[] = "offline";
805
806-const char NS_GOOGLE_PSTN_CONFERENCE[] = "http://www.google.com/pstn-conference";
807+const char NS_GOOGLE_PSTN_CONFERENCE[] = "trk:237:http://www.google.com/pstn-conference";
808 const StaticQName QN_GOOGLE_PSTN_CONFERENCE_STATUS = { NS_GOOGLE_PSTN_CONFERENCE, "status" };
809 const StaticQName QN_ATTR_STATUS = { STR_EMPTY, "status" };
810
811@@ -433,7 +433,7 @@ const StaticQName QN_MUC_ROLE = { NS_MUC
812 const char STR_AFFILIATION_NONE[] = "none";
813 const char STR_ROLE_PARTICIPANT[] = "participant";
814
815-const char NS_GOOGLE_SESSION[] = "http://www.google.com/session";
816+const char NS_GOOGLE_SESSION[] = "trk:238:http://www.google.com/session";
817 const StaticQName QN_GOOGLE_CIRCLE_ID = { STR_EMPTY, "google-circle-id" };
818 const StaticQName QN_GOOGLE_USER_ID = { STR_EMPTY, "google-user-id" };
819 const StaticQName QN_GOOGLE_SESSION_BLOCKED = { NS_GOOGLE_SESSION, "blocked" };
820--- ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js.orig
821+++ ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js
791@@ -72,9 +72,9 @@ cvox.ChromeVoxPrefs.DEFAULT_PREFS = { 822@@ -72,9 +72,9 @@ cvox.ChromeVoxPrefs.DEFAULT_PREFS = {
792 'outputContextFirst': false, 823 'outputContextFirst': false,
793 'position': '{}', 824 'position': '{}',
@@ -800,8 +831,8 @@ by default.
800 'sticky': false, 831 'sticky': false,
801 'typingEcho': 0, 832 'typingEcho': 0,
802 'useIBeamCursor': cvox.ChromeVox.isMac, 833 'useIBeamCursor': cvox.ChromeVox.isMac,
803--- a/ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js 834--- ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js.orig
804+++ b/ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js 835+++ ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js
805@@ -96,9 +96,9 @@ cvox.ChromeHost.prototype.init = functio 836@@ -96,9 +96,9 @@ cvox.ChromeHost.prototype.init = functio
806 (!cvox.ApiImplementation.siteSpecificScriptLoader || 837 (!cvox.ApiImplementation.siteSpecificScriptLoader ||
807 !cvox.ApiImplementation.siteSpecificScriptBase); 838 !cvox.ApiImplementation.siteSpecificScriptBase);
@@ -814,8 +845,8 @@ by default.
814 if (apiPrefsChanged) { 845 if (apiPrefsChanged) {
815 var searchInit = prefs['siteSpecificEnhancements'] === 'true' ? 846 var searchInit = prefs['siteSpecificEnhancements'] === 'true' ?
816 cvox.SearchLoader.init : 847 cvox.SearchLoader.init :
817--- a/ui/views/examples/webview_example.cc 848--- ui/views/examples/webview_example.cc.orig
818+++ b/ui/views/examples/webview_example.cc 849+++ ui/views/examples/webview_example.cc
819@@ -29,7 +29,7 @@ void WebViewExample::CreateExampleView(V 850@@ -29,7 +29,7 @@ void WebViewExample::CreateExampleView(V
820 webview_->GetWebContents()->SetDelegate(this); 851 webview_->GetWebContents()->SetDelegate(this);
821 container->SetLayoutManager(std::make_unique<FillLayout>()); 852 container->SetLayoutManager(std::make_unique<FillLayout>());