Update Iridium patches to 54

This commit is contained in:
Eloston
2016-11-25 12:55:37 -08:00
parent 6e1ed69136
commit e56950f4b0
18 changed files with 482 additions and 584 deletions
@@ -1,7 +1,7 @@
From 991e3c3b19ec989d5f8c7871be7456ff4a2572b7 Mon Sep 17 00:00:00 2001
From 08de83df6d6a64f9a9291a8b19a39308356f67a9 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 2 Mar 2015 11:28:26 +0100
Subject: [PATCH 34/55] Remove EV certificates
Date: Thu, 2 Apr 2015 12:44:23 +0200
Subject: [PATCH 30/52] Remove EV certificates
The team chose to let EV certificates appear just like normal
certificates. The web of trust is considered a failure in itself, so
@@ -12,7 +12,7 @@ Instead, let them appear just like regular ones.
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/net/cert/ev_root_ca_metadata.cc b/net/cert/ev_root_ca_metadata.cc
index a46e50a..cfc5e4d 100644
index 3c1f859..2813afc 100644
--- a/net/cert/ev_root_ca_metadata.cc
+++ b/net/cert/ev_root_ca_metadata.cc
@@ -41,6 +41,16 @@ struct EVMetadata {
@@ -32,7 +32,7 @@ index a46e50a..cfc5e4d 100644
// AC Camerfirma S.A. Chambers of Commerce Root - 2008
// https://www.camerfirma.com
{
@@ -570,7 +580,9 @@ static const EVMetadata ev_root_ca_metadata[] = {
@@ -568,7 +578,9 @@ static const EVMetadata ev_root_ca_metadata[] = {
{{0xb8, 0x01, 0x86, 0xd1, 0xeb, 0x9c, 0x86, 0xa5, 0x41, 0x04,
0xcf, 0x30, 0x54, 0xf3, 0x4c, 0x52, 0xb7, 0xe5, 0x58, 0xc6}},
{"2.16.840.1.114404.1.1.2.4.1", ""},
@@ -1,7 +1,7 @@
From c60f03060880c4eba63d9cb8da3b360c2cb8e2ca Mon Sep 17 00:00:00 2001
From 3721e1bbe19432b8e48eadaf797b6694ea1bba02 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 3 Nov 2014 10:52:56 +0100
Subject: [PATCH 44/55] all: add trk: prefixes to possibly evil connections
Subject: [PATCH 52/52] all: add trk: prefixes to possibly evil connections
Prefix URLs to Google services with trk: so that whenever something
tries to load them, the developer will be informed via printf and
@@ -11,87 +11,80 @@ If you see such dialog, we know that (a) either the URL needs to be
whitelisted, or (b) the feature that triggered it needs to be disabled
by default.
---
build/mac/tweak_info_plist.py | 4 ++--
.../chromeos/customization/customization_document.cc | 2 +-
.../extensions/file_manager/private_api_drive.cc | 2 +-
.../extensions/file_manager/private_api_misc.cc | 2 +-
.../extensions/file_manager/private_api_strings.cc | 12 ++++++------
.../chromeos/login/signin/oauth2_login_manager.cc | 2 +-
.../api/cryptotoken_private/cryptotoken_private_api.cc | 4 ++--
chrome/browser/extensions/install_signer.cc | 2 +-
chrome/browser/first_run/try_chrome_dialog_view.cc | 2 +-
chrome/browser/gpu/three_d_api_observer.cc | 2 +-
.../infobars/insecure_content_infobar_delegate.cc | 2 +-
chrome/browser/media/media_url_constants.cc | 2 +-
chrome/browser/nacl_host/nacl_infobar_delegate.cc | 2 +-
chrome/browser/net/predictor.cc | 2 +-
chrome/browser/profiles/profile_avatar_downloader.cc | 2 +-
.../chromeos/chromevox/chromevox/background/prefs.js | 4 ++--
.../resources/default_apps/external_extensions.json | 6 +++---
.../safe_browsing/client_side_detection_service.cc | 4 ++--
chrome/browser/safe_browsing/download_feedback.cc | 2 +-
chrome/browser/safe_browsing/srt_global_error_win.cc | 2 +-
.../spellchecker/spellcheck_hunspell_dictionary.cc | 2 +-
chrome/browser/spellchecker/spelling_service_client.cc | 2 +-
.../experimental/supervised_user_async_url_checker.cc | 2 +-
.../browser/supervised_user/supervised_user_service.cc | 2 +-
.../ui/app_list/search/people/people_provider.cc | 4 ++--
.../browser/ui/views/outdated_upgrade_bubble_view.cc | 2 +-
.../website_settings/mock_permission_bubble_request.cc | 6 +++---
chrome/browser/ui/webui/ntp/ntp_resource_cache.cc | 8 ++++----
chrome/chrome_watcher/chrome_watcher_main.cc | 2 +-
chrome/common/extensions/chrome_extensions_client.cc | 4 ++--
chrome/common/extensions/extension_constants.cc | 2 +-
chrome/common/url_constants.cc | 6 +++---
chrome/installer/util/google_chrome_distribution.cc | 2 +-
chrome/installer/util/user_experiment.cc | 2 +-
chromecast/browser/service/cast_service_simple.cc | 2 +-
chromeos/geolocation/simple_geolocation_provider.cc | 2 +-
components/cloud_devices/common/cloud_devices_urls.cc | 8 ++++----
components/copresence/rpc/rpc_handler.cc | 2 +-
components/crash/content/app/breakpad_linux.cc | 2 +-
components/crash/content/tools/crash_service.cc | 2 +-
components/drive/service/drive_api_service.cc | 8 ++++----
components/feedback/feedback_uploader.cc | 2 +-
components/gcm_driver/gcm_account_tracker.cc | 4 ++--
components/google/core/browser/google_url_tracker.cc | 2 +-
components/history/core/browser/web_history_service.cc | 6 +++---
components/invalidation/impl/gcm_network_channel.cc | 2 +-
components/invalidation/impl/p2p_invalidator.cc | 2 +-
components/metrics/url_constants.cc | 2 +-
.../password_manager/core/browser/password_store.cc | 8 ++++----
components/policy/core/common/policy_loader_win.cc | 2 +-
components/policy/resources/policy_templates.json | 6 +++---
components/rappor/rappor_service.cc | 2 +-
components/search_engines/prepopulated_engines.json | 4 ++--
.../translate/core/browser/translate_url_fetcher.cc | 1 +
components/translate/core/common/translate_util.cc | 2 +-
components/variations/variations_url_constants.cc | 2 +-
.../browser/speech/google_one_shot_remote_engine.cc | 2 +-
.../browser/speech/google_streaming_remote_engine.cc | 2 +-
content/shell/browser/shell_browser_main_parts.cc | 2 +-
extensions/common/update_manifest.cc | 2 +-
google_apis/gaia/gaia_constants.cc | 18 +++++++++---------
google_apis/gaia/google_service_auth_error.cc | 2 +-
google_apis/gcm/engine/gservices_settings.cc | 6 +++---
jingle/notifier/base/gaia_token_pre_xmpp_auth.cc | 2 +-
net/cert/ct_known_logs_static.h | 12 ++++++------
remoting/base/breakpad_mac.mm | 2 +-
remoting/host/service_urls.cc | 4 ++--
remoting/protocol/jingle_messages.cc | 2 +-
remoting/webapp/base/js/xmpp_login_handler.js | 2 +-
remoting/webapp/crd/manifest.json.jinja2 | 2 +-
rlz/lib/lib_values.cc | 2 +-
sync/tools/sync_client.cc | 2 +-
ui/app_list/demo/app_list_demo_views.cc | 2 +-
ui/views/examples/webview_example.cc | 2 +-
74 files changed, 125 insertions(+), 124 deletions(-)
build/mac/tweak_info_plist.py | 2 +-
.../customization/customization_document.cc | 2 +-
.../extensions/file_manager/private_api_drive.cc | 2 +-
.../extensions/file_manager/private_api_misc.cc | 2 +-
.../extensions/file_manager/private_api_strings.cc | 12 +++++------
.../chromeos/login/signin/oauth2_login_manager.cc | 2 +-
.../cryptotoken_private/cryptotoken_private_api.cc | 4 ++--
chrome/browser/extensions/install_signer.cc | 2 +-
chrome/browser/first_run/try_chrome_dialog_view.cc | 2 +-
chrome/browser/gpu/three_d_api_observer.cc | 2 +-
chrome/browser/media/media_url_constants.cc | 2 +-
chrome/browser/nacl_host/nacl_infobar_delegate.cc | 2 +-
chrome/browser/net/predictor.cc | 2 +-
.../browser/profiles/profile_avatar_downloader.cc | 2 +-
.../chromevox/chromevox/background/prefs.js | 4 ++--
.../default_apps/external_extensions.json | 6 +++---
.../safe_browsing/client_side_detection_service.cc | 4 ++--
chrome/browser/safe_browsing/download_feedback.cc | 2 +-
.../browser/safe_browsing/srt_global_error_win.cc | 2 +-
.../spellchecker/spellcheck_hunspell_dictionary.cc | 2 +-
.../supervised_user_async_url_checker.cc | 2 +-
.../supervised_user/supervised_user_service.cc | 2 +-
chrome/browser/tracing/crash_service_uploader.cc | 2 +-
.../ui/views/outdated_upgrade_bubble_view.cc | 2 +-
chrome/browser/ui/webui/ntp/ntp_resource_cache.cc | 8 ++++----
.../common/extensions/chrome_extensions_client.cc | 4 ++--
chrome/common/extensions/extension_constants.cc | 2 +-
chrome/common/url_constants.cc | 6 +++---
.../installer/util/google_chrome_distribution.cc | 2 +-
chrome/installer/util/user_experiment.cc | 2 +-
chromecast/browser/service/cast_service_simple.cc | 2 +-
.../geolocation/simple_geolocation_provider.cc | 2 +-
.../cloud_devices/common/cloud_devices_urls.cc | 8 ++++----
components/crash/content/app/breakpad_linux.cc | 2 +-
components/crash/content/tools/crash_service.cc | 2 +-
components/drive/service/drive_api_service.cc | 8 ++++----
components/feedback/feedback_uploader.cc | 2 +-
components/gcm_driver/gcm_account_tracker.cc | 4 ++--
.../google/core/browser/google_url_tracker.cc | 2 +-
.../history/core/browser/web_history_service.cc | 6 +++---
.../invalidation/impl/gcm_network_channel.cc | 2 +-
components/invalidation/impl/p2p_invalidator.cc | 2 +-
components/metrics/url_constants.cc | 4 ++--
.../core/browser/password_store.cc | 8 ++++----
components/policy/core/common/policy_loader_win.cc | 2 +-
components/policy/resources/policy_templates.json | 6 +++---
components/rappor/rappor_service.cc | 2 +-
.../search_engines/prepopulated_engines.json | 4 ++--
.../core/browser/translate_url_fetcher.cc | 1 +
components/translate/core/common/translate_util.cc | 2 +-
components/variations/variations_url_constants.cc | 2 +-
.../browser/speech/speech_recognition_engine.cc | 2 +-
content/shell/browser/shell_browser_main_parts.cc | 2 +-
extensions/common/update_manifest.cc | 2 +-
google_apis/gaia/gaia_constants.cc | 18 ++++++++--------
google_apis/gaia/google_service_auth_error.cc | 2 +-
google_apis/gcm/engine/gservices_settings.cc | 6 +++---
jingle/notifier/base/gaia_token_pre_xmpp_auth.cc | 2 +-
net/cert/ct_known_logs_static-inc.h | 24 +++++++++++-----------
remoting/base/breakpad_mac.mm | 2 +-
remoting/host/service_urls.cc | 4 ++--
remoting/protocol/jingle_messages.cc | 2 +-
remoting/webapp/base/js/xmpp_login_handler.js | 2 +-
remoting/webapp/crd/manifest.json.jinja2 | 2 +-
rlz/lib/lib_values.cc | 2 +-
ui/app_list/demo/app_list_demo_views.cc | 2 +-
ui/views/examples/webview_example.cc | 2 +-
67 files changed, 121 insertions(+), 120 deletions(-)
diff --git a/build/mac/tweak_info_plist.py b/build/mac/tweak_info_plist.py
index a6ffbca..90b9cbc 100755
index 920c62d..6a95d72 100755
--- a/build/mac/tweak_info_plist.py
+++ b/build/mac/tweak_info_plist.py
@@ -179,7 +179,7 @@ def _AddKeystoneKeys(plist, bundle_identifier):
@@ -206,7 +206,7 @@ def _AddKeystoneKeys(plist, bundle_identifier):
also requires the |bundle_identifier| argument (com.example.product)."""
plist['KSVersion'] = plist['CFBundleShortVersionString']
plist['KSProductID'] = bundle_identifier
@@ -100,15 +93,6 @@ index a6ffbca..90b9cbc 100755
_RemoveKeys(plist, 'KSChannelID')
for tag_suffix in _TagSuffixes():
@@ -239,7 +239,7 @@ def Main(argv):
return 1
_AddBreakpadKeys(plist, options.branding)
if options.breakpad_uploads:
- plist['BreakpadURL'] = 'https://clients2.google.com/cr/report'
+ plist['BreakpadURL'] = 'trk:133:https://clients2.google.com/cr/report'
else:
# This allows crash dumping to a file without uploading the
# dump, for testing purposes. Breakpad does not recognise
diff --git a/chrome/browser/chromeos/customization/customization_document.cc b/chrome/browser/chromeos/customization/customization_document.cc
index fb5492e..64c2a1e 100644
--- a/chrome/browser/chromeos/customization/customization_document.cc
@@ -123,10 +107,10 @@ index fb5492e..64c2a1e 100644
// A custom extensions::ExternalLoader that the ServicesCustomizationDocument
// creates and uses to publish OEM default apps to the extensions system.
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
index b0fa30f..38c26f7 100644
index 21c32ca..1f1e4d9 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
@@ -1116,7 +1116,7 @@ void FileManagerPrivateInternalGetDownloadUrlFunction::OnGetResourceEntry(
@@ -1117,7 +1117,7 @@ void FileManagerPrivateInternalGetDownloadUrlFunction::OnGetResourceEntry(
SigninManagerFactory::GetForProfile(GetProfile());
const std::string& account_id = signin_manager->GetAuthenticatedAccountId();
std::vector<std::string> scopes;
@@ -136,10 +120,10 @@ index b0fa30f..38c26f7 100644
auth_service_.reset(
new google_apis::AuthService(oauth2_token_service,
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
index c50ffb2..7ceab92 100644
index 5fdb182..837184d 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
@@ -60,7 +60,7 @@ namespace {
@@ -61,7 +61,7 @@ namespace {
using api::file_manager_private::ProfileInfo;
@@ -149,10 +133,10 @@ index c50ffb2..7ceab92 100644
// Obtains the current app window.
AppWindow* GetCurrentAppWindow(ChromeSyncExtensionFunction* function) {
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
index ef40741..867230f 100644
index 98c233e..05f5cfe 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
@@ -19,26 +19,26 @@ namespace {
@@ -22,26 +22,26 @@ namespace {
// Location of the page to buy more storage for Google Drive.
const char kGoogleDriveBuyStorageUrl[] =
@@ -199,10 +183,10 @@ index ba8db73..cdc618e 100644
} // namespace
diff --git a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
index 98d7977..d348594 100644
index d5d3823..7ae946f 100644
--- a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
+++ b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
@@ -14,8 +14,8 @@ namespace api {
@@ -15,8 +15,8 @@ namespace api {
const char kGoogleDotCom[] = "google.com";
const char* kGoogleGstaticAppIds[] = {
@@ -214,7 +198,7 @@ index 98d7977..d348594 100644
CryptotokenPrivateCanOriginAssertAppIdFunction::
diff --git a/chrome/browser/extensions/install_signer.cc b/chrome/browser/extensions/install_signer.cc
index 9bf403c..87224a7 100644
index 0100058..1811e22 100644
--- a/chrome/browser/extensions/install_signer.cc
+++ b/chrome/browser/extensions/install_signer.cc
@@ -64,7 +64,7 @@ const int kSignatureFormatVersion = 2;
@@ -227,10 +211,10 @@ index 9bf403c..87224a7 100644
const char kPublicKeyPEM[] = \
"-----BEGIN PUBLIC KEY-----" \
diff --git a/chrome/browser/first_run/try_chrome_dialog_view.cc b/chrome/browser/first_run/try_chrome_dialog_view.cc
index 198c3365..5ea1177 100644
index dd757f3..8498505 100644
--- a/chrome/browser/first_run/try_chrome_dialog_view.cc
+++ b/chrome/browser/first_run/try_chrome_dialog_view.cc
@@ -38,7 +38,7 @@
@@ -39,7 +39,7 @@
namespace {
const wchar_t kHelpCenterUrl[] =
@@ -240,7 +224,7 @@ index 198c3365..5ea1177 100644
enum ButtonTags {
BT_NONE,
diff --git a/chrome/browser/gpu/three_d_api_observer.cc b/chrome/browser/gpu/three_d_api_observer.cc
index 2fa88038..1823ab4 100644
index 1992cc3..ac9bd79 100644
--- a/chrome/browser/gpu/three_d_api_observer.cc
+++ b/chrome/browser/gpu/three_d_api_observer.cc
@@ -157,7 +157,7 @@ base::string16 ThreeDAPIInfoBarDelegate::GetLinkText() const {
@@ -252,17 +236,6 @@ index 2fa88038..1823ab4 100644
}
diff --git a/chrome/browser/infobars/insecure_content_infobar_delegate.cc b/chrome/browser/infobars/insecure_content_infobar_delegate.cc
index 8af7856..ea7c17e0 100644
--- a/chrome/browser/infobars/insecure_content_infobar_delegate.cc
+++ b/chrome/browser/infobars/insecure_content_infobar_delegate.cc
@@ -106,5 +106,5 @@ base::string16 InsecureContentInfoBarDelegate::GetLinkText() const {
}
GURL InsecureContentInfoBarDelegate::GetLinkURL() const {
- return GURL("https://support.google.com/chrome/answer/1342714");
+ return GURL("trk:141:https://support.google.com/chrome/answer/1342714");
}
diff --git a/chrome/browser/media/media_url_constants.cc b/chrome/browser/media/media_url_constants.cc
index 2859519..35cc695 100644
--- a/chrome/browser/media/media_url_constants.cc
@@ -276,7 +249,7 @@ index 2859519..35cc695 100644
} // namespace chrome
diff --git a/chrome/browser/nacl_host/nacl_infobar_delegate.cc b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
index 3bb7131..765d3ce 100644
index 3ed0512..37b1573 100644
--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc
+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
@@ -56,5 +56,5 @@ base::string16 NaClInfoBarDelegate::GetLinkText() const {
@@ -287,10 +260,10 @@ index 3bb7131..765d3ce 100644
+ return GURL("trk:143:https://support.google.com/chrome/?p=ib_nacl");
}
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index ea20cee..9e4c2bc 100644
index 857ba94..bbe8cfa 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -362,7 +362,7 @@ UrlList Predictor::GetPredictedUrlListAtStartup(PrefService* user_prefs) {
@@ -305,7 +305,7 @@ std::vector<GURL> Predictor::GetPredictedUrlListAtStartup(
}
if (urls.empty())
@@ -313,7 +286,7 @@ index 6bfb7a8..51636fa 100644
ProfileAvatarDownloader::ProfileAvatarDownloader(
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js
index 7fab296..43c3b89 100644
index eaeb939..3623052 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js
@@ -72,9 +72,9 @@ cvox.ChromeVoxPrefs.DEFAULT_PREFS = {
@@ -352,10 +325,10 @@ index 59a0f9a..888e42b 100644
}
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
index 9f98df0..1c30c95 100644
index 29dcc30..a2679f6 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -72,9 +72,9 @@ const int ClientSideDetectionService::kNegativeCacheIntervalDays = 1;
@@ -73,9 +73,9 @@ const int ClientSideDetectionService::kNegativeCacheIntervalDays = 1;
const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30;
const char ClientSideDetectionService::kClientReportPhishingUrl[] =
@@ -365,13 +338,13 @@ index 9f98df0..1c30c95 100644
- "https://sb-ssl.google.com/safebrowsing/clientreport/malware-check";
+ "trk:149:https://sb-ssl.google.com/safebrowsing/clientreport/malware-check";
struct ClientSideDetectionService::ClientReportInfo {
ClientReportPhishingRequestCallback callback;
struct ClientSideDetectionService::ClientPhishingReportInfo {
std::unique_ptr<net::URLFetcher> fetcher;
diff --git a/chrome/browser/safe_browsing/download_feedback.cc b/chrome/browser/safe_browsing/download_feedback.cc
index e792d41..8d2dcc4 100644
index 06b051f..c68f516 100644
--- a/chrome/browser/safe_browsing/download_feedback.cc
+++ b/chrome/browser/safe_browsing/download_feedback.cc
@@ -197,7 +197,7 @@ const int64_t DownloadFeedback::kMaxUploadSize = 50 * 1024 * 1024;
@@ -195,7 +195,7 @@ const int64_t DownloadFeedback::kMaxUploadSize = 50 * 1024 * 1024;
// static
const char DownloadFeedback::kSbFeedbackURL[] =
@@ -379,12 +352,12 @@ index e792d41..8d2dcc4 100644
+ "trk:164:https://safebrowsing.google.com/safebrowsing/uploads/chrome";
// static
DownloadFeedbackFactory* DownloadFeedback::factory_ = NULL;
DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr;
diff --git a/chrome/browser/safe_browsing/srt_global_error_win.cc b/chrome/browser/safe_browsing/srt_global_error_win.cc
index 69f40626..e1dedbf 100644
index d8afcff..1d73457 100644
--- a/chrome/browser/safe_browsing/srt_global_error_win.cc
+++ b/chrome/browser/safe_browsing/srt_global_error_win.cc
@@ -36,7 +36,7 @@ namespace {
@@ -43,7 +43,7 @@ namespace {
// Used as a backup plan in case the SRT executable was not successfully
// downloaded or run.
const char kSRTDownloadURL[] =
@@ -394,10 +367,10 @@ index 69f40626..e1dedbf 100644
// The extension to use to replace the temporary one created when the SRT was
// downloaded.
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
index deef151..1e65d44 100644
index bd49e1f..299ceb1 100644
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
@@ -230,7 +230,7 @@ void SpellcheckHunspellDictionary::OnURLFetchComplete(
@@ -233,7 +233,7 @@ void SpellcheckHunspellDictionary::OnURLFetchComplete(
GURL SpellcheckHunspellDictionary::GetDictionaryURL() {
static const char kDownloadServerUrl[] =
@@ -406,21 +379,8 @@ index deef151..1e65d44 100644
std::string bdict_file = dictionary_file_.path.BaseName().MaybeAsASCII();
DCHECK(!bdict_file.empty());
diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc
index b8ec824..e3e4acb 100644
--- a/chrome/browser/spellchecker/spelling_service_client.cc
+++ b/chrome/browser/spellchecker/spelling_service_client.cc
@@ -31,7 +31,7 @@
namespace {
// The URL for requesting spell checking and sending user feedback.
-const char kSpellingServiceURL[] = "https://www.googleapis.com/rpc";
+const char kSpellingServiceURL[] = "trk:237:https://www.googleapis.com/rpc";
// The location of spellcheck suggestions in JSON response from spelling
// service.
diff --git a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc
index f56232e..5acc91e 100644
index 2bbcdad..4b1f259 100644
--- a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc
+++ b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc
@@ -31,7 +31,7 @@ using net::URLRequestStatus;
@@ -433,10 +393,10 @@ index f56232e..5acc91e 100644
const char kDataFormat[] = "key=%s&urls=%s";
diff --git a/chrome/browser/supervised_user/supervised_user_service.cc b/chrome/browser/supervised_user/supervised_user_service.cc
index 66662cb..c211a47 100644
index 84eed10..87eda68 100644
--- a/chrome/browser/supervised_user/supervised_user_service.cc
+++ b/chrome/browser/supervised_user/supervised_user_service.cc
@@ -84,7 +84,7 @@ namespace {
@@ -101,7 +101,7 @@ namespace {
// The URL from which to download a host blacklist if no local one exists yet.
const char kBlacklistURL[] =
@@ -445,12 +405,25 @@ index 66662cb..c211a47 100644
// The filename under which we'll store the blacklist (in the user data dir).
const char kBlacklistFilename[] = "su-blacklist.bin";
diff --git a/chrome/browser/tracing/crash_service_uploader.cc b/chrome/browser/tracing/crash_service_uploader.cc
index ab677e5..b7e80bd 100644
--- a/chrome/browser/tracing/crash_service_uploader.cc
+++ b/chrome/browser/tracing/crash_service_uploader.cc
@@ -36,7 +36,7 @@ using std::string;
namespace {
-const char kUploadURL[] = "https://clients2.google.com/cr/report";
+const char kUploadURL[] = "trk:109:https://clients2.google.com/cr/report";
const char kUploadContentType[] = "multipart/form-data";
const char kMultipartBoundary[] =
"----**--yradnuoBgoLtrapitluMklaTelgooG--**----";
diff --git a/chrome/browser/ui/views/outdated_upgrade_bubble_view.cc b/chrome/browser/ui/views/outdated_upgrade_bubble_view.cc
index 8b786b5..391c9bd 100644
index 78c3646..33752b4 100644
--- a/chrome/browser/ui/views/outdated_upgrade_bubble_view.cc
+++ b/chrome/browser/ui/views/outdated_upgrade_bubble_view.cc
@@ -44,7 +44,7 @@ const int kWidthOfDescriptionText = 330;
const int kButtonPadding = views::kRelatedButtonHSpacing - 2;
@@ -37,7 +37,7 @@ namespace {
const int kWidthOfDescriptionText = 330;
// The URL to be used to re-install Chrome when auto-update failed for too long.
-const char kDownloadChromeUrl[] = "https://www.google.com/chrome/?&brand=CHWL"
@@ -458,48 +431,8 @@ index 8b786b5..391c9bd 100644
"&utm_campaign=en&utm_source=en-et-na-us-chrome-bubble&utm_medium=et";
// The maximum number of ignored bubble we track in the NumLaterPerReinstall
diff --git a/chrome/browser/ui/website_settings/mock_permission_bubble_request.cc b/chrome/browser/ui/website_settings/mock_permission_bubble_request.cc
index 7749547..6a78777 100644
--- a/chrome/browser/ui/website_settings/mock_permission_bubble_request.cc
+++ b/chrome/browser/ui/website_settings/mock_permission_bubble_request.cc
@@ -12,7 +12,7 @@ MockPermissionBubbleRequest::MockPermissionBubbleRequest()
: MockPermissionBubbleRequest("test",
"button",
"button",
- GURL("http://www.google.com"),
+ GURL("trk:243:http://www.google.com"),
PermissionBubbleType::UNKNOWN) {}
MockPermissionBubbleRequest::MockPermissionBubbleRequest(
@@ -20,7 +20,7 @@ MockPermissionBubbleRequest::MockPermissionBubbleRequest(
: MockPermissionBubbleRequest(text,
"button",
"button",
- GURL("http://www.google.com"),
+ GURL("trk:244:http://www.google.com"),
PermissionBubbleType::UNKNOWN) {}
MockPermissionBubbleRequest::MockPermissionBubbleRequest(
@@ -28,7 +28,7 @@ MockPermissionBubbleRequest::MockPermissionBubbleRequest(
: MockPermissionBubbleRequest(text,
"button",
"button",
- GURL("http://www.google.com"),
+ GURL("trk:245:http://www.google.com"),
bubble_type) {}
MockPermissionBubbleRequest::MockPermissionBubbleRequest(
@@ -47,7 +47,7 @@ MockPermissionBubbleRequest::MockPermissionBubbleRequest(
: MockPermissionBubbleRequest(text,
accept_label,
deny_label,
- GURL("http://www.google.com"),
+ GURL("trk:245:http://www.google.com"),
PermissionBubbleType::UNKNOWN) {}
MockPermissionBubbleRequest::~MockPermissionBubbleRequest() {}
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 5161f9b..4110f7b 100644
index e67d28e..307aaf4 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -77,17 +77,17 @@ namespace {
@@ -525,10 +458,10 @@ index 5161f9b..4110f7b 100644
std::string SkColorToRGBAString(SkColor color) {
diff --git a/chrome/common/extensions/chrome_extensions_client.cc b/chrome/common/extensions/chrome_extensions_client.cc
index 81d942b..86390ac 100644
index cac1996..b53a5c9 100644
--- a/chrome/common/extensions/chrome_extensions_client.cc
+++ b/chrome/common/extensions/chrome_extensions_client.cc
@@ -56,9 +56,9 @@ namespace {
@@ -59,9 +59,9 @@ namespace {
// TODO(battre): Delete the HTTP URL once the blacklist is downloaded via HTTPS.
const char kExtensionBlocklistUrlPrefix[] =
@@ -541,7 +474,7 @@ index 81d942b..86390ac 100644
const char kThumbsWhiteListedExtension[] = "khopmbdjffemhegeeobelklnbglcdgfh";
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index c6b2bd2..1919759 100644
index 413e5f9..cc5a989 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -11,7 +11,7 @@ namespace extension_urls {
@@ -554,10 +487,10 @@ index c6b2bd2..1919759 100644
} // namespace
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 545a59c..8ba689e 100644
index 4028c26..5c4cbce 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -301,7 +301,7 @@ const char kChromeUIVoiceSearchHost[] = "voicesearch";
@@ -303,7 +303,7 @@ const char kChromeUIVoiceSearchHost[] = "voicesearch";
const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html";
const char kOemEulaURLPath[] = "oem";
const char kOnlineEulaURLPath[] =
@@ -566,7 +499,7 @@ index 545a59c..8ba689e 100644
const char kChromeOSCreditsPath[] =
"/opt/google/chrome/resources/about_os_credits.html";
@@ -365,7 +365,7 @@ const char kExtensionResourceInvalidRequestURL[] =
@@ -367,7 +367,7 @@ const char kExtensionResourceInvalidRequestURL[] =
"chrome-extension-resource://invalid/";
const char kSyncGoogleDashboardURL[] =
@@ -575,7 +508,7 @@ index 545a59c..8ba689e 100644
const char kGoogleAccountActivityControlsURL[] =
"https://myaccount.google.com/activitycontrols/search";
@@ -557,7 +557,7 @@ const char kCloudPrintLearnMoreURL[] =
@@ -561,7 +561,7 @@ const char kCloudPrintLearnMoreURL[] =
#endif
const char kCloudPrintNoDestinationsLearnMoreURL[] =
@@ -585,10 +518,10 @@ index 545a59c..8ba689e 100644
const char kAppLauncherHelpURL[] =
"https://support.google.com/chrome_webstore/?p=cws_app_launcher";
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index d114a8b..a51c66f 100644
index 6742bf2..c5fb6f8 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -57,7 +57,7 @@ base::string16 LocalizeUrl(const wchar_t* url) {
@@ -58,7 +58,7 @@ base::string16 LocalizeUrl(const wchar_t* url) {
}
base::string16 GetUninstallSurveyUrl() {
@@ -598,7 +531,7 @@ index d114a8b..a51c66f 100644
return LocalizeUrl(kSurveyUrl);
}
diff --git a/chrome/installer/util/user_experiment.cc b/chrome/installer/util/user_experiment.cc
index 7ca824c..645b787 100644
index 9600516..7b5f25e 100644
--- a/chrome/installer/util/user_experiment.cc
+++ b/chrome/installer/util/user_experiment.cc
@@ -61,7 +61,7 @@ base::string16 LocalizeUrl(const wchar_t* url) {
@@ -611,7 +544,7 @@ index 7ca824c..645b787 100644
return LocalizeUrl(kWelcomeUrl);
}
diff --git a/chromecast/browser/service/cast_service_simple.cc b/chromecast/browser/service/cast_service_simple.cc
index 95a497f..1fa210b 100644
index 25ebc50..fff5e03 100644
--- a/chromecast/browser/service/cast_service_simple.cc
+++ b/chromecast/browser/service/cast_service_simple.cc
@@ -22,7 +22,7 @@ GURL GetStartupURL() {
@@ -665,21 +598,8 @@ index 7b4b711..5e58255 100644
}
diff --git a/components/copresence/rpc/rpc_handler.cc b/components/copresence/rpc/rpc_handler.cc
index d3ce789..069db42 100644
--- a/components/copresence/rpc/rpc_handler.cc
+++ b/components/copresence/rpc/rpc_handler.cc
@@ -54,7 +54,7 @@ const int kInvalidTokenExpiryTimeMinutes = 10;
const int kMaxInvalidTokens = 10000;
const char kRegisterDeviceRpcName[] = "registerdevice";
const char kDefaultCopresenceServer[] =
- "https://www.googleapis.com/copresence/v2/copresence";
+ "trk:259:https://www.googleapis.com/copresence/v2/copresence";
// UrlSafe is defined as:
// '/' represented by a '_' and '+' represented by a '-'
diff --git a/components/crash/content/app/breakpad_linux.cc b/components/crash/content/app/breakpad_linux.cc
index aab3a98..9990b57 100644
index 9ebc33f..6a4d862 100644
--- a/components/crash/content/app/breakpad_linux.cc
+++ b/components/crash/content/app/breakpad_linux.cc
@@ -88,7 +88,7 @@ namespace breakpad {
@@ -705,10 +625,10 @@ index 38f94f7..f50b3fd 100644
typedef std::map<std::wstring, std::wstring> CrashMap;
diff --git a/components/drive/service/drive_api_service.cc b/components/drive/service/drive_api_service.cc
index 91c0225..ed7029f 100644
index 7abb9ce..1d078c9 100644
--- a/components/drive/service/drive_api_service.cc
+++ b/components/drive/service/drive_api_service.cc
@@ -73,11 +73,11 @@ namespace drive {
@@ -74,11 +74,11 @@ namespace drive {
namespace {
// OAuth2 scopes for Drive API.
@@ -738,7 +658,7 @@ index e278177..6ec309b 100644
const int64_t kRetryDelayMinutes = 60;
diff --git a/components/gcm_driver/gcm_account_tracker.cc b/components/gcm_driver/gcm_account_tracker.cc
index 06c0866..1a2071a 100644
index 56808d9..e0a7757 100644
--- a/components/gcm_driver/gcm_account_tracker.cc
+++ b/components/gcm_driver/gcm_account_tracker.cc
@@ -23,9 +23,9 @@ namespace gcm {
@@ -753,11 +673,24 @@ index 06c0866..1a2071a 100644
// Name of the GCM account tracker for the OAuth2TokenService.
const char kGCMAccountTrackerName[] = "gcm_account_tracker";
// Minimum token validity when sending to GCM groups server.
diff --git a/components/google/core/browser/google_url_tracker.cc b/components/google/core/browser/google_url_tracker.cc
index 90e369c..838d3eb 100644
--- a/components/google/core/browser/google_url_tracker.cc
+++ b/components/google/core/browser/google_url_tracker.cc
@@ -34,7 +34,7 @@
* (So the naming problem was spotted, yet remains unfixed even today…)
*/
const char GoogleURLTracker::kDefaultGoogleHomepage[] =
- "https://www.google.com/";
+ "trk:192:https://www.google.com/";
const char GoogleURLTracker::kSearchDomainCheckURL[] =
/* trk:193: */ "https://www.google.com/searchdomaincheck?format=domain&type=chrome";
diff --git a/components/history/core/browser/web_history_service.cc b/components/history/core/browser/web_history_service.cc
index 46177dc..b9331a6 100644
index 19986e5..8b4b4cc 100644
--- a/components/history/core/browser/web_history_service.cc
+++ b/components/history/core/browser/web_history_service.cc
@@ -30,13 +30,13 @@ namespace history {
@@ -39,13 +39,13 @@ namespace history {
namespace {
const char kHistoryOAuthScope[] =
@@ -775,7 +708,7 @@ index 46177dc..b9331a6 100644
const char kHistoryAudioHistoryUrl[] =
"https://history.google.com/history/api/lookup?client=audio";
diff --git a/components/invalidation/impl/gcm_network_channel.cc b/components/invalidation/impl/gcm_network_channel.cc
index 3960b60..3034483 100644
index 6204ecc..19b67ed 100644
--- a/components/invalidation/impl/gcm_network_channel.cc
+++ b/components/invalidation/impl/gcm_network_channel.cc
@@ -37,7 +37,7 @@ namespace syncer {
@@ -788,7 +721,7 @@ index 3960b60..3034483 100644
// Register backoff policy.
diff --git a/components/invalidation/impl/p2p_invalidator.cc b/components/invalidation/impl/p2p_invalidator.cc
index 2c2ce2f..8c7645e 100644
index 92562ab..a6db2db 100644
--- a/components/invalidation/impl/p2p_invalidator.cc
+++ b/components/invalidation/impl/p2p_invalidator.cc
@@ -20,7 +20,7 @@
@@ -801,12 +734,12 @@ index 2c2ce2f..8c7645e 100644
namespace {
diff --git a/components/metrics/url_constants.cc b/components/metrics/url_constants.cc
index 55d9e13..5f17829 100644
index 4a744d5..00b8abe 100644
--- a/components/metrics/url_constants.cc
+++ b/components/metrics/url_constants.cc
@@ -10,9 +10,9 @@ namespace metrics {
#if defined(OS_ANDROID)
#if defined(OS_ANDROID) || defined(OS_IOS)
const char kDefaultMetricsServerUrl[] =
- "https://clientservices.googleapis.com/uma/v2";
+ "trk:265:https://clientservices.googleapis.com/uma/v2";
@@ -817,10 +750,10 @@ index 55d9e13..5f17829 100644
const char kDefaultMetricsMimeType[] = "application/vnd.chrome.uma";
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc
index bb424b2..0934dec 100644
index c97af75..5d80fc9 100644
--- a/components/password_manager/core/browser/password_store.cc
+++ b/components/password_manager/core/browser/password_store.cc
@@ -171,10 +171,10 @@ void PasswordStore::GetLogins(const PasswordForm& form,
@@ -185,10 +185,10 @@ void PasswordStore::GetLogins(const FormDigest& form,
// TODO(mdm): actually delete them at some point, say M24 or so.
base::Time ignore_logins_cutoff; // the null time
if (form.scheme == PasswordForm::SCHEME_HTML &&
@@ -834,12 +767,12 @@ index bb424b2..0934dec 100644
+ form.signon_realm == "trk:190:https://www.google.com/")) {
static const base::Time::Exploded exploded_cutoff =
{ 2012, 1, 0, 1, 0, 0, 0, 0 }; // 00:00 Jan 1 2012
ignore_logins_cutoff = base::Time::FromUTCExploded(exploded_cutoff);
base::Time out_time;
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index f8b6358..f1506e37 100644
index 66bc7c1..77de8d4 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -64,7 +64,7 @@ const char kLegacyBrowserSupportExtensionId[] =
@@ -56,7 +56,7 @@ const char kKeyThirdParty[] = "3rdparty";
// The web store url that is the only trusted source for extensions.
const char kExpectedWebStoreUrl[] =
@@ -849,10 +782,10 @@ index f8b6358..f1506e37 100644
const char kBlockedExtensionPrefix[] = "[BLOCKED]";
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index d3fcba6..bb30e52 100644
index 79a7b5e..327a7ff 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -2037,7 +2037,7 @@
@@ -2043,7 +2043,7 @@
'dynamic_refresh': True,
'per_profile': True,
},
@@ -861,7 +794,7 @@ index d3fcba6..bb30e52 100644
'id': 34,
'caption': '''Configure the list of force-installed apps and extensions''',
'tags': ['full-admin-access'],
@@ -2080,7 +2080,7 @@
@@ -2086,7 +2086,7 @@
URL indicated in the extension's manifest.
For example, <ph
@@ -870,7 +803,7 @@ index d3fcba6..bb30e52 100644
installs the <ph name="EXTENSION_POLICY_EXAMPLE_EXTENSION_NAME">Chrome
Remote Desktop</ph> app from the standard Chrome Web Store "update"
URL. For more information about hosting extensions, see: <ph
@@ -5175,7 +5175,7 @@
@@ -5208,7 +5208,7 @@
'features': {
'dynamic_refresh': True,
},
@@ -880,10 +813,10 @@ index d3fcba6..bb30e52 100644
'caption': '''List of AppPack extensions''',
'tags': [],
diff --git a/components/rappor/rappor_service.cc b/components/rappor/rappor_service.cc
index 02853af..bc782ee 100644
index a572c17..f8c8edb 100644
--- a/components/rappor/rappor_service.cc
+++ b/components/rappor/rappor_service.cc
@@ -37,7 +37,7 @@ const char kRapporRolloutFieldTrialName[] = "RapporRollout";
@@ -38,7 +38,7 @@ const char kRapporRolloutFieldTrialName[] = "RapporRollout";
const char kRapporRolloutServerUrlParam[] = "ServerUrl";
// The rappor server's URL.
@@ -893,7 +826,7 @@ index 02853af..bc782ee 100644
GURL GetServerUrl() {
std::string server_url = variations::GetVariationParamValue(
diff --git a/components/search_engines/prepopulated_engines.json b/components/search_engines/prepopulated_engines.json
index 6f37a75..efe1f78 100644
index ac9b27c..da22cf3 100644
--- a/components/search_engines/prepopulated_engines.json
+++ b/components/search_engines/prepopulated_engines.json
@@ -131,8 +131,8 @@
@@ -908,7 +841,7 @@ index 6f37a75..efe1f78 100644
"instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}{google:forceInstantResults}{google:instantExtendedEnabledParameter}ie={inputEncoding}",
"image_url": "{google:baseURL}searchbyimage/upload",
diff --git a/components/translate/core/browser/translate_url_fetcher.cc b/components/translate/core/browser/translate_url_fetcher.cc
index 39c2b2c..70ab07e 100644
index 45615e3..a959b98 100644
--- a/components/translate/core/browser/translate_url_fetcher.cc
+++ b/components/translate/core/browser/translate_url_fetcher.cc
@@ -60,6 +60,7 @@ bool TranslateURLFetcher::Request(
@@ -944,8 +877,8 @@ index dce446a..87b1301 100644
+ "trk:142:https://clients4.google.com/chrome-variations/seed";
} // namespace variations
diff --git a/content/browser/speech/google_streaming_remote_engine.cc b/content/browser/speech/google_streaming_remote_engine.cc
index 2f7e365..bef7570 100644
diff --git a/content/browser/speech/speech_recognition_engine.cc b/content/browser/speech/speech_recognition_engine.cc
index efa13f4..abbf2ac 100644
--- a/content/browser/speech/speech_recognition_engine.cc
+++ b/content/browser/speech/speech_recognition_engine.cc
@@ -33,7 +33,7 @@ namespace content {
@@ -958,10 +891,10 @@ index 2f7e365..bef7570 100644
const char kUpstreamUrl[] = "/up?";
diff --git a/content/shell/browser/shell_browser_main_parts.cc b/content/shell/browser/shell_browser_main_parts.cc
index 1c5dcb5..b9a381c 100644
index f3c2299..71c9e0d 100644
--- a/content/shell/browser/shell_browser_main_parts.cc
+++ b/content/shell/browser/shell_browser_main_parts.cc
@@ -66,7 +66,7 @@ GURL GetStartupURL() {
@@ -85,7 +85,7 @@ GURL GetStartupURL() {
#endif
if (args.empty())
@@ -971,7 +904,7 @@ index 1c5dcb5..b9a381c 100644
GURL url(args[0]);
if (url.is_valid() && url.has_scheme())
diff --git a/extensions/common/update_manifest.cc b/extensions/common/update_manifest.cc
index c8ebdf7..0ae4862 100644
index adb7c31..8fe1dc2 100644
--- a/extensions/common/update_manifest.cc
+++ b/extensions/common/update_manifest.cc
@@ -17,7 +17,7 @@
@@ -1042,7 +975,7 @@ index 34c94c1..448bb91 100644
NOTREACHED();
return std::string();
diff --git a/google_apis/gcm/engine/gservices_settings.cc b/google_apis/gcm/engine/gservices_settings.cc
index cde4d7fb..7813526 100644
index 65f4453..7bb5fcc 100644
--- a/google_apis/gcm/engine/gservices_settings.cc
+++ b/google_apis/gcm/engine/gservices_settings.cc
@@ -29,18 +29,18 @@ const char kRegistrationURLKey[] = "gcm_registration_url";
@@ -1080,95 +1013,118 @@ index 657fd3f..5fa47f5 100644
const buzz::QName QN_GOOGLE_ALLOW_GENERATED_JID_XMPP_LOGIN(
NS_GOOGLE_AUTH_PROTOCOL, "allow-generated-jid");
const buzz::QName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT(
diff --git a/net/cert/ct_known_logs_static.h b/net/cert/ct_known_logs_static.h
index 8452ece..883b4df 100644
diff --git a/net/cert/ct_known_logs_static-inc.h b/net/cert/ct_known_logs_static-inc.h
index 668950c..366571b 100644
--- a/net/cert/ct_known_logs_static-inc.h
+++ b/net/cert/ct_known_logs_static-inc.h
@@ -23,35 +23,35 @@ const CTLogInfo kCTLogList[] = {
@@ -30,7 +30,7 @@ const CTLogInfo kCTLogList[] = {
"\x0c\xe8\x41\x46\xe8\x81\x01\x1b\x15\xe1\x4b\xf1\x1b\x62\xdd\x36\x0a"
"\x08\x18\xba\xed\x0b\x35\x84\xd0\x9e\x40\x3c\x2d\x9e\x9b\x82\x65\xbd"
"\x1f\x04\x10\x41\x4c\xa0",
- 91, "Google 'Pilot' log", "https://ct.googleapis.com/pilot/"},
+ 91, "Google 'Pilot' log", "trk:300:https://ct.googleapis.com/pilot/"},
- 91, "Google 'Pilot' log", "https://ct.googleapis.com/pilot/",
+ 91, "Google 'Pilot' log", "trk:300:https://ct.googleapis.com/pilot/",
"pilot.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\xd7\xf4\xcc\x69\xb2\xe4\x0e"
"\x90\xa3\x8a\xea\x5a\x70\x09\x4f\xef\x13\x62\xd0\x8d\x49\x60\xff\x1b"
@@ -38,7 +38,7 @@ const CTLogInfo kCTLogList[] = {
"\x40\x50\x07\x0c\x6d\x71\x86\xda\x25\x49\x8d\x65\xe1\x08\x0d\x47\x34"
"\x6b\xbd\x27\xbc\x96\x21\x3e\x34\xf5\x87\x76\x31\xb1\x7f\x1d\xc9\x85"
"\x3b\x0d\xf7\x1f\x3f\xe9",
- 91, "Google 'Aviator' log", "https://ct.googleapis.com/aviator/"},
+ 91, "Google 'Aviator' log", "trk:301:https://ct.googleapis.com/aviator/"},
- 91, "Google 'Aviator' log", "https://ct.googleapis.com/aviator/",
+ 91, "Google 'Aviator' log", "trk:301:https://ct.googleapis.com/aviator/",
"aviator.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\x02\x46\xc5\xbe\x1b\xbb\x82"
"\x40\x16\xe8\xc1\xd2\xac\x19\x69\x13\x59\xf8\xf8\x70\x85\x46\x40\xb9"
@@ -46,7 +46,7 @@ const CTLogInfo kCTLogList[] = {
"\x38\xb0\x23\x82\xa8\x64\x4c\x7f\xbf\xbb\x34\x9f\x4a\x5f\x28\x8a\xcf"
"\x19\xc4\x00\xf6\x36\x06\x93\x65\xed\x4c\xf5\xa9\x21\x62\x5a\xd8\x91"
"\xeb\x38\x24\x40\xac\xe8",
- 91, "DigiCert Log Server", "https://ct1.digicert-ct.com/log/"},
+ 91, "DigiCert Log Server", "trk:302:https://ct1.digicert-ct.com/log/"},
- 91, "DigiCert Log Server", "https://ct1.digicert-ct.com/log/",
+ 91, "DigiCert Log Server", "trk:302:https://ct1.digicert-ct.com/log/",
"digicert.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\x20\x5b\x18\xc8\x3c\xc1\x8b"
"\xb3\x31\x08\x00\xbf\xa0\x90\x57\x2b\xb7\x47\x8c\x6f\xb5\x68\xb0\x8e"
@@ -54,7 +54,7 @@ const CTLogInfo kCTLogList[] = {
"\x90\x78\xe9\xa0\x73\xea\x4f\x28\x21\x2e\x9c\xc0\xf4\x16\x1b\xaa\xf9"
"\xd5\xd7\xa9\x80\xc3\x4e\x2f\x52\x3c\x98\x01\x25\x46\x24\x25\x28\x23"
"\x77\x2d\x05\xc2\x40\x7a",
- 91, "Google 'Rocketeer' log", "https://ct.googleapis.com/rocketeer/"},
+ 91, "Google 'Rocketeer' log", "trk:303:https://ct.googleapis.com/rocketeer/"},
- 91, "Google 'Rocketeer' log", "https://ct.googleapis.com/rocketeer/",
+ 91, "Google 'Rocketeer' log", "trk:303:https://ct.googleapis.com/rocketeer/",
"rocketeer.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\x96\xea\xac\x1c\x46\x0c\x1b"
"\x55\xdc\x0d\xfc\xb5\x94\x27\x46\x57\x42\x70\x3a\x69\x18\xe2\xbf\x3b"
@@ -62,7 +62,7 @@ const CTLogInfo kCTLogList[] = {
"\xc4\xdb\xab\xa0\xf4\xb6\x6c\xc0\x53\x3f\x4d\x42\x10\x33\xf0\x58\x97"
"\x8f\x6b\xbe\x72\xf4\x2a\xec\x1c\x42\xaa\x03\x2f\x1a\x7e\x28\x35\x76"
"\x99\x08\x3d\x21\x14\x86",
- 91, "Symantec log", "https://ct.ws.symantec.com/"},
+ 91, "Symantec log", "trk:304:https://ct.ws.symantec.com/"},
- 91, "Symantec log", "https://ct.ws.symantec.com/",
+ 91, "Symantec log", "trk:304:https://ct.ws.symantec.com/",
"symantec.ct.googleapis.com"},
{"\x30\x82\x01\x22\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01"
"\x05\x00\x03\x82\x01\x0f\x00\x30\x82\x01\x0a\x02\x82\x01\x01\x00\xa2"
"\x5a\x48\x1f\x17\x52\x95\x35\xcb\xa3\x5b\x3a\x1f\x53\x82\x76\x94\xa3"
@@ -70,14 +70,14 @@ const CTLogInfo kCTLogList[] = {
@@ -82,7 +82,7 @@ const CTLogInfo kCTLogList[] = {
"\x05\xbf\x5f\xae\x94\x97\xdb\x5f\x64\xd4\xee\x16\x8b\xa3\x84\x6c\x71"
"\x2b\xf1\xab\x7f\x5d\x0d\x32\xee\x04\xe2\x90\xec\x41\x9f\xfb\x39\xc1"
"\x02\x03\x01\x00\x01",
- 294, "Venafi log", "https://ctlog.api.venafi.com/"},
+ 294, "Venafi log", "trk:305:https://ctlog.api.venafi.com/"},
- 294, "Venafi log", "https://ctlog.api.venafi.com/",
+ 294, "Venafi log", "trk:305:https://ctlog.api.venafi.com/",
"venafi.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\xea\x95\x9e\x02\xff\xee\xf1"
"\x33\x6d\x4b\x87\xbc\xcd\xfd\x19\x17\x62\xff\x94\xd3\xd0\x59\x07\x3f"
@@ -90,7 +90,7 @@ const CTLogInfo kCTLogList[] = {
"\x02\x2d\x1c\x90\xfe\xc8\x47\x30\x3b\xf1\xdd\x0d\xb8\x11\x0c\x5d\x1d"
"\x86\xdd\xab\xd3\x2b\x46\x66\xfb\x6e\x65\xb7\x3b\xfd\x59\x68\xac\xdf"
"\xa6\xf8\xce\xd2\x18\x4d",
- 91, "Symantec 'Vega' log", "https://vega.ws.symantec.com/"},
+ 91, "Symantec 'Vega' log", "trk:https://vega.ws.symantec.com/"},
- 91, "Symantec 'Vega' log", "https://vega.ws.symantec.com/",
+ 91, "Symantec 'Vega' log", "trk:306:https://vega.ws.symantec.com/",
"symantec-vega.ct.googleapis.com"},
{"\x30\x82\x01\x22\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01"
"\x05\x00\x03\x82\x01\x0f\x00\x30\x82\x01\x0a\x02\x82\x01\x01\x00\xbf"
"\xb5\x08\x61\x9a\x29\x32\x04\xd3\x25\x63\xe9\xd8\x85\xe1\x86\xe0\x1f"
@@ -96,7 +96,7 @@ const CTLogInfo kCTLogList[] = {
@@ -110,7 +110,7 @@ const CTLogInfo kCTLogList[] = {
"\x6f\xdf\x3c\x2c\x43\x57\xa1\x47\x0c\x91\x04\xf4\x75\x4d\xda\x89\x81"
"\xa4\x14\x06\x34\xb9\x98\xc3\xda\xf1\xfd\xed\x33\x36\xd3\x16\x2d\x35"
"\x02\x03\x01\x00\x01",
- 294, "CNNIC CT log", "https://ctserver.cnnic.cn/"}};
+ 294, "CNNIC CT log", "trk:https://ctserver.cnnic.cn/"}};
- 294, "CNNIC CT log", "https://ctserver.cnnic.cn/",
+ 294, "CNNIC CT log", "trk:307:https://ctserver.cnnic.cn/",
"cnnic.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\xcc\x11\x88\x7b\x2d\x66\xcb"
@@ -118,7 +118,7 @@ const CTLogInfo kCTLogList[] = {
"\xf9\x2b\xd5\xc8\xba\x73\x9b\x06\xa2\xf0\x8a\x02\x9c\xd0\x6b\x46\x18"
"\x30\x85\xba\xe9\x24\x8b\x0e\xd1\x5b\x70\x28\x0c\x7e\xf1\x3a\x45\x7f"
"\x5a\xf3\x82\x42\x60\x31",
- 91, "WoSign log", "https://ctlog.wosign.com/",
+ 91, "WoSign log", "trk:310:https://ctlog.wosign.com/",
"wosign1.ct.googleapis.com"},
{"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86"
"\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\x48\xf3\x59\xf3\xf6\x05\x18"
@@ -126,7 +126,7 @@ const CTLogInfo kCTLogList[] = {
"\xb7\x4a\x1a\x14\x86\x43\xa9\x48\xb0\xcb\x5a\x3f\x3c\x4a\xca\xdf\xc4"
"\x82\x14\x55\x9a\xf8\xf7\x8e\x40\x55\xdc\xf4\xd2\xaf\xea\x75\x74\xfb"
"\x4e\x7f\x60\x86\x2e\x51",
- 91, "StartCom CT log", "https://ct.startssl.com/",
+ 91, "StartCom CT log", "trk:311:https://ct.startssl.com/",
"startcom1.ct.googleapis.com"}};
// Information related to previously-qualified, but now disqualified, CT
// logs.
@@ -123,7 +123,7 @@ const DisqualifiedCTLogInfo kDisqualifiedCTLogList[] = {
@@ -154,7 +154,7 @@ const DisqualifiedCTLogInfo kDisqualifiedCTLogList[] = {
"\x11\xc4\x11\x17\xab\x5c\xcf\x0f\x74\xac\xb5\x97\x90\x93\x00\x5b\xb8"
"\xeb\xf7\x27\x3d\xd9\xb2\x0a\x81\x5f\x2f\x0d\x75\x38\x94\x37\x99\x1e"
"\xf6\x07\x76\xe0\xee\xbe",
- 91, "Izenpe log", "https://ct.izenpe.com/"},
+ 91, "Izenpe log", "trk:https://ct.izenpe.com/"},
- 91, "Izenpe log", "https://ct.izenpe.com/",
+ 91, "Izenpe log", "trk:308:https://ct.izenpe.com/",
"izenpe1.ct.googleapis.com"},
// 2016-05-30 00:00:00 UTC
base::TimeDelta::FromSeconds(1464566400),
},
@@ -136,7 +136,7 @@ const DisqualifiedCTLogInfo kDisqualifiedCTLogList[] = {
@@ -168,7 +168,7 @@ const DisqualifiedCTLogInfo kDisqualifiedCTLogList[] = {
"\x8f\x01\x42\x0a\x7c\x98\x26\x27\xc1\xb5\xdd\x92\x93\xb0\xae\xf8\x9b"
"\x3d\x0c\xd8\x4c\x4e\x1d\xf9\x15\xfb\x47\x68\x7b\xba\x66\xb7\x25\x9c"
"\xd0\x4a\xc2\x66\xdb\x48",
- 91, "Certly.IO log", "https://log.certly.io/"},
+ 91, "Certly.IO log", "trk:https://log.certly.io/"},
- 91, "Certly.IO log", "https://log.certly.io/",
+ 91, "Certly.IO log", "trk:309:https://log.certly.io/",
"certly.ct.googleapis.com"},
// 2016-04-15 00:00:00 UTC
base::TimeDelta::FromSeconds(1460678400),
},
diff --git a/remoting/base/breakpad_mac.mm b/remoting/base/breakpad_mac.mm
index 1dbd11f..579bfd5 100644
--- a/remoting/base/breakpad_mac.mm
@@ -1198,7 +1154,7 @@ index d3f2876..1abbd06 100644
const char kXmppServerAddressForMe2MeHost[] = "talk.google.com:5222";
const bool kXmppServerUseTls = true;
diff --git a/remoting/protocol/jingle_messages.cc b/remoting/protocol/jingle_messages.cc
index bc8846a..8983b17 100644
index 8c8c164..94b99bf 100644
--- a/remoting/protocol/jingle_messages.cc
+++ b/remoting/protocol/jingle_messages.cc
@@ -23,7 +23,7 @@ const char kJabberNamespace[] = "jabber:client";
@@ -1249,24 +1205,11 @@ index 1829993..023f13f 100644
const int kFinancialPort = 80;
// Ping times in 100-nanosecond intervals.
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 92c58ac..4f1a4208 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -71,7 +71,7 @@ const char kXmppHostPortSwitch[] = "xmpp-host-port";
const char kXmppTrySslTcpFirstSwitch[] = "xmpp-try-ssltcp-first";
const char kXmppAllowInsecureConnectionSwitch[] =
"xmpp-allow-insecure-connection";
-const char kSyncServiceURL[] = "https://clients4.google.com/chrome-sync/dev";
+const char kSyncServiceURL[] = "trk:267:https://clients4.google.com/chrome-sync/dev";
// Needed to use a real host resolver.
class MyTestURLRequestContext : public net::TestURLRequestContext {
diff --git a/ui/app_list/demo/app_list_demo_views.cc b/ui/app_list/demo/app_list_demo_views.cc
index f184480..07ab5df 100644
index d937287..673af58 100644
--- a/ui/app_list/demo/app_list_demo_views.cc
+++ b/ui/app_list/demo/app_list_demo_views.cc
@@ -99,7 +99,7 @@ views::View* DemoAppListViewDelegate::CreateStartPageWebView(
@@ -101,7 +101,7 @@ views::View* DemoAppListViewDelegate::CreateStartPageWebView(
const gfx::Size& size) {
web_contents_.reset(content::WebContents::Create(
content::WebContents::CreateParams(browser_context_)));
@@ -1,17 +1,17 @@
From 1f12b28e83fe9bb1413ee1eea4965b3fbecdc84c Mon Sep 17 00:00:00 2001
From 73ddab8ed6059afbc91e3e835632b0401426ec3a Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Thu, 25 Jun 2015 15:51:59 +0200
Subject: [PATCH 49/55] browser: disable profile auto-import on first run
Subject: [PATCH 44/52] browser: disable profile auto-import on first run
---
chrome/browser/chrome_browser_main.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 1b52c6d..496d48d 100644
index 04230f8..5fe3cf1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1550,11 +1550,13 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
@@ -1822,11 +1822,13 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// preferences are registered, since some of the code that the importer
// touches reads preferences.
if (first_run::IsChromeFirstRun()) {
@@ -1,7 +1,7 @@
From dae9f7a6712e14445bbfa180ac644dbf1ddc7518 Mon Sep 17 00:00:00 2001
From c4d3809c765cd6d5ec29aa1d2a752c83a70f7e08 Mon Sep 17 00:00:00 2001
From: amistry <amistry@chromium.org>
Date: Tue, 9 Jun 2015 12:18:39 -0700
Subject: [PATCH 46/55] hotword: disable at build time by default
Subject: [PATCH 41/52] hotword: disable at build time by default
Commit f269d3b548203e217e8c0080c2e22e7ae3efb51e upstream:
@@ -18,38 +18,59 @@ Cr-Commit-Position: refs/heads/master@{#333548}
Hard-disable hotwording by default even on a build level.
---
chrome/browser/BUILD.gn | 3 ++-
chrome/browser/extensions/component_loader.cc | 4 ++++
chrome/browser/BUILD.gn | 2 +-
chrome/browser/extensions/component_loader.cc | 4 ++--
chrome/browser/search/hotword_service_unittest.cc | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 0170206..acdb5e4 100644
index 7b8d6fd..eb50883 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -25,7 +25,8 @@ declare_args() {
# 'Ok Google' hotwording is disabled by default. Set to true to enable. (This
# will download a closed-source NaCl module at startup.) Chrome-branded
# ChromeOS builds have this enabled by default.
- enable_hotwording = is_chrome_branded && is_chromeos
+ # OFFOFFOFFOFFOFFOFFOFF
+ enable_hotwording = false
@@ -524,7 +524,7 @@ split_static_library("browser") {
}
}
- if (enable_hotwording) {
+ if (false) {
defines += [ "ENABLE_HOTWORDING" ]
}
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
index 05bf4e2..9e8f0f1 100644
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -347,7 +347,7 @@ void ComponentLoader::AddHangoutServicesExtension() {
}
additional_modules_list_file =
void ComponentLoader::AddHotwordAudioVerificationApp() {
-#if defined(ENABLE_HOTWORDING)
+#if 0
if (HotwordServiceFactory::IsAlwaysOnAvailable()) {
Add(IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST,
base::FilePath(FILE_PATH_LITERAL("hotword_audio_verification")));
@@ -356,7 +356,7 @@ void ComponentLoader::AddHotwordAudioVerificationApp() {
}
void ComponentLoader::AddHotwordHelperExtension() {
-#if defined(ENABLE_HOTWORDING)
+#if 0
if (HotwordServiceFactory::IsHotwordAllowed(profile_)) {
Add(IDR_HOTWORD_MANIFEST,
base::FilePath(FILE_PATH_LITERAL("hotword")));
diff --git a/chrome/browser/search/hotword_service_unittest.cc b/chrome/browser/search/hotword_service_unittest.cc
index e5887df..6517883 100644
index d4b20fa..725eaf23 100644
--- a/chrome/browser/search/hotword_service_unittest.cc
+++ b/chrome/browser/search/hotword_service_unittest.cc
@@ -165,6 +165,7 @@ INSTANTIATE_TEST_CASE_P(HotwordServiceTests,
@@ -167,6 +167,7 @@ INSTANTIATE_TEST_CASE_P(HotwordServiceTests,
// Disabled due to http://crbug.com/503963.
TEST_P(HotwordServiceTest, DISABLED_IsHotwordAllowedLocale) {
+#if defined(ENABLE_HOTWORDING)
TestingProfile::Builder profile_builder;
scoped_ptr<TestingProfile> profile = profile_builder.Build();
std::unique_ptr<TestingProfile> profile = profile_builder.Build();
@@ -206,6 +207,7 @@ TEST_P(HotwordServiceTest, DISABLED_IsHotwordAllowedLocale) {
@@ -208,6 +209,7 @@ TEST_P(HotwordServiceTest, DISABLED_IsHotwordAllowedLocale) {
Profile* otr_profile = profile->GetOffTheRecordProfile();
SetApplicationLocale(otr_profile, "en");
EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(otr_profile));
@@ -57,7 +78,7 @@ index e5887df..6517883 100644
}
TEST_P(HotwordServiceTest, ShouldReinstallExtension) {
@@ -262,6 +264,7 @@ TEST_P(HotwordServiceTest, PreviousLanguageSetOnInstall) {
@@ -264,6 +266,7 @@ TEST_P(HotwordServiceTest, PreviousLanguageSetOnInstall) {
}
TEST_P(HotwordServiceTest, UninstallReinstallTriggeredCorrectly) {
@@ -65,7 +86,7 @@ index e5887df..6517883 100644
InitializeEmptyExtensionService();
service_->Init();
@@ -342,6 +345,7 @@ TEST_P(HotwordServiceTest, UninstallReinstallTriggeredCorrectly) {
@@ -344,6 +347,7 @@ TEST_P(HotwordServiceTest, UninstallReinstallTriggeredCorrectly) {
#endif
EXPECT_FALSE(hotword_service->MaybeReinstallHotwordExtension());
EXPECT_EQ(1, hotword_service->uninstall_count()); // no change
@@ -1,7 +1,7 @@
From 3cba61ab4e602707a8e9559eccf4658fc1a98c81 Mon Sep 17 00:00:00 2001
From 7b1ae397311016687c94102a2cd4ddd7cc0c608d Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Thu, 29 Jan 2015 10:46:40 +0100
Subject: [PATCH 08/55] mime_util: force text/x-suse-ymp to be downloaded
Subject: [PATCH 05/52] mime_util: force text/x-suse-ymp to be downloaded
YMP files (YaST One Click Install) are plaintext XML, but also not
very interesting in themselves. Force them to be stored.
@@ -10,10 +10,10 @@ very interesting in themselves. Force them to be stored.
1 file changed, 1 insertion(+)
diff --git a/components/mime_util/mime_util.cc b/components/mime_util/mime_util.cc
index f7e59e4..592662f 100644
index 5f4cf3f..80886e4 100644
--- a/components/mime_util/mime_util.cc
+++ b/components/mime_util/mime_util.cc
@@ -73,6 +73,7 @@ static const char* const kUnsupportedTextTypes[] = {
@@ -75,6 +75,7 @@ static const char* const kUnsupportedTextTypes[] = {
"text/x-csv",
"text/x-vcf",
"text/rtf",
@@ -1,7 +1,7 @@
From 8d94632ca99bcd6474709f1d54f45fed919b2297 Mon Sep 17 00:00:00 2001
From e2272116ba8ec766ed19a1d8c4399f3a6ab7b9b6 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 20 May 2015 01:34:50 +0200
Subject: [PATCH 38/55] net: add "trk:" scheme and help identify URLs being
Subject: [PATCH 34/52] net: add "trk:" scheme and help identify URLs being
retrieved
The Chromium codebase has left us with a number of suspect URLs, and
@@ -27,6 +27,7 @@ We hack up the URLFetcher class which sits in the network stack, and
most of the URL that get loaded pass through here. The trk: prefix is
stripped and processing continues with the inner URL.
---
chrome/BUILD.gn | 3 +-
chrome/app/chrome_main.cc | 20 ++++++++
.../chrome_autocomplete_scheme_classifier.cc | 1 +
chrome/browser/history/history_utils.cc | 1 +
@@ -38,8 +39,8 @@ stripped and processing continues with the inner URL.
components/infobars/core/infobar_delegate.h | 1 +
components/omnibox/browser/autocomplete_input.cc | 8 +--
content/browser/browser_url_handler_impl.cc | 20 ++++++++
.../browser/child_process_security_policy_impl.cc | 7 ++-
iridium/iridium.gyp | 19 +++++++
.../browser/child_process_security_policy_impl.cc | 1 +
iridium/BUILD.gn | 9 ++++
iridium/trkbar.cpp | 45 +++++++++++++++++
iridium/trkbar.h | 33 ++++++++++++
iridium/trknotify.cpp | 59 ++++++++++++++++++++++
@@ -51,15 +52,36 @@ stripped and processing continues with the inner URL.
url/gurl.h | 5 ++
url/url_constants.cc | 1 +
url/url_constants.h | 1 +
24 files changed, 295 insertions(+), 7 deletions(-)
create mode 100644 iridium/iridium.gyp
25 files changed, 283 insertions(+), 6 deletions(-)
create mode 100644 iridium/BUILD.gn
create mode 100644 iridium/trkbar.cpp
create mode 100644 iridium/trkbar.h
create mode 100644 iridium/trknotify.cpp
create mode 100644 iridium/trknotify.h
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 80378a8..1c9f0dc 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -210,6 +210,7 @@ if (!is_android && !is_mac) {
deps += [
# On Linux, link the dependencies (libraries) that make up actual
# Chromium functionality directly into the executable.
+ "//iridium:trknotify",
":browser_dependencies",
":child_dependencies",
":manpage",
@@ -435,7 +436,7 @@ if (is_win) {
}
}
- deps += [ "//chrome/browser/policy:path_parser" ]
+ deps += [ "//chrome/browser/policy:path_parser", "//iridium:trknotify" ]
if (enable_plugins && enable_pdf) {
deps += [ "//pdf" ]
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index 0ad602a..cf1fdff 100644
index d84f8d4..928deda 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -7,6 +7,10 @@
@@ -93,7 +115,7 @@ index 0ad602a..cf1fdff 100644
#if defined(OS_WIN)
DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance,
sandbox::SandboxInterfaceInfo* sandbox_info) {
@@ -81,6 +98,9 @@ int ChromeMain(int argc, const char** argv) {
@@ -82,6 +99,9 @@ int ChromeMain(int argc, const char** argv) {
return MashMain();
#endif
@@ -128,10 +150,10 @@ index cbb66d4..d69e58c 100644
url.SchemeIs(chrome::kChromeSearchScheme) ||
url.SchemeIs(dom_distiller::kDomDistillerScheme))
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index c624c8c..e099475 100644
index 6da32e1..ef2bd35 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -107,7 +107,8 @@ bool HasInternalURL(const NavigationEntry* entry) {
@@ -106,7 +106,8 @@ bool HasInternalURL(const NavigationEntry* entry) {
// If the |virtual_url()| isn't a chrome:// URL, check if it's actually
// view-source: of a chrome:// URL.
@@ -142,10 +164,10 @@ index c624c8c..e099475 100644
return false;
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index d98c47e..b88d728 100644
index 7c75a33..67aacb6 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -610,6 +610,14 @@ bool IsURLAllowedInIncognito(const GURL& url,
@@ -620,6 +620,14 @@ bool IsURLAllowedInIncognito(const GURL& url,
return stripped_url.is_valid() &&
IsURLAllowedInIncognito(stripped_url, browser_context);
}
@@ -175,11 +197,11 @@ index 870e8df..bdea535 100644
GURL rewritten_tab_url = tab_url;
diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi
index a84463b..b443f1d 100644
index 8d15478..ea53243 100644
--- a/chrome/chrome_dll.gypi
+++ b/chrome/chrome_dll.gypi
@@ -120,6 +120,7 @@
'app/delay_load_hook_win.h',
@@ -118,6 +118,7 @@
'app/chrome_main_mac.mm',
],
'dependencies': [
+ '../iridium/iridium.gyp:trknotify',
@@ -187,10 +209,10 @@ index a84463b..b443f1d 100644
'chrome_features.gyp:chrome_common_features',
'policy_path_parser',
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi
index 0c878b2e..3d4701e 100644
index 7c7a8e8..e3663f9 100644
--- a/chrome/chrome_exe.gypi
+++ b/chrome/chrome_exe.gypi
@@ -195,6 +195,7 @@
@@ -177,6 +177,7 @@
'app/chrome_main_delegate.h',
],
'dependencies': [
@@ -199,22 +221,22 @@ index 0c878b2e..3d4701e 100644
# Chromium functionality directly into the executable.
'<@(chromium_browser_dependencies)',
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 00b0175..a0e4779 100644
index ced38d3..2e723b8 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -132,6 +132,7 @@ class InfoBarDelegate {
// Removed: DESKTOP_SEARCH_REDIRECTION_INFOBAR_DELEGATE = 62,
UPDATE_PASSWORD_INFOBAR_DELEGATE = 63,
DATA_REDUCTION_PROMO_INFOBAR_DELEGATE_ANDROID = 64,
@@ -135,6 +135,7 @@ class InfoBarDelegate {
AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DELEGATE_ANDROID = 65,
SUBRESOURCE_FILTER_INFOBAR_DELEGATE_ANDROID = 66,
INSTANT_APPS_INFOBAR_DELEGATE_ANDROID = 67,
+ TRACKING_ALERT_INFOBAR_DELEGATE = 9001,
};
// Describes navigation events, used to decide whether infobars should be
diff --git a/components/omnibox/browser/autocomplete_input.cc b/components/omnibox/browser/autocomplete_input.cc
index f8673d7..9fd1adc 100644
index 7207fc8..aaa3229 100644
--- a/components/omnibox/browser/autocomplete_input.cc
+++ b/components/omnibox/browser/autocomplete_input.cc
@@ -475,7 +475,8 @@ void AutocompleteInput::ParseForEmphasizeComponents(
@@ -433,7 +433,8 @@ void AutocompleteInput::ParseForEmphasizeComponents(
int after_scheme_and_colon = parts.scheme.end() + 1;
// For the view-source scheme, we should emphasize the scheme and host of the
// URL qualified by the view-source prefix.
@@ -224,7 +246,7 @@ index f8673d7..9fd1adc 100644
(static_cast<int>(text.length()) > after_scheme_and_colon)) {
// Obtain the URL prefixed by view-source and parse it.
base::string16 real_url(text.substr(after_scheme_and_colon));
@@ -542,9 +543,10 @@ int AutocompleteInput::NumNonHostComponents(const url::Parsed& parts) {
@@ -500,9 +501,10 @@ int AutocompleteInput::NumNonHostComponents(const url::Parsed& parts) {
bool AutocompleteInput::HasHTTPScheme(const base::string16& input) {
std::string utf8_input(base::UTF16ToUTF8(input));
url::Component scheme;
@@ -279,10 +301,10 @@ index a79b89d..ab808cc 100644
BrowserURLHandlerImpl::~BrowserURLHandlerImpl() {
diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
index bd84239..790ff41 100644
index a43de17..a94b4c2 100644
--- a/content/browser/child_process_security_policy_impl.cc
+++ b/content/browser/child_process_security_policy_impl.cc
@@ -308,6 +308,7 @@ ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl() {
@@ -339,6 +339,7 @@ ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl() {
RegisterPseudoScheme(url::kAboutScheme);
RegisterPseudoScheme(url::kJavaScriptScheme);
RegisterPseudoScheme(kViewSourceScheme);
@@ -290,34 +312,24 @@ index bd84239..790ff41 100644
}
ChildProcessSecurityPolicyImpl::~ChildProcessSecurityPolicyImpl() {
diff --git a/iridium/iridium.gyp b/iridium/iridium.gyp
diff --git a/iridium/BUILD.gn b/iridium/BUILD.gn
new file mode 100644
index 0000000..a1fee8f
index 0000000..913b266
--- /dev/null
+++ b/iridium/iridium.gyp
@@ -0,0 +1,19 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'trknotify',
+ 'type': 'static_library',
+ 'sources': [
+ 'trknotify.cpp',
+ 'trknotify.h',
+ 'trkbar.cpp',
+ 'trkbar.h',
+ ],
+ 'include_dirs': [
+ '..',
+ '../third_party/skia/include/config',
+ '../third_party/skia/include/core',
+ ],
+ },
+ ],
+++ b/iridium/BUILD.gn
@@ -0,0 +1,9 @@
+config("trknotify_c") {
+ include_dirs = ["..", "../third_party/skia/include/config", "../third_party/skia/include/core"]
+}
+
+component("trknotify") {
+ sources = ["trkbar.cpp", "trkbar.h", "trknotify.cpp", "trknotify.h"]
+ public_configs = [":trknotify_c"]
+ deps = ["//chrome/browser/ui"]
+}
diff --git a/iridium/trkbar.cpp b/iridium/trkbar.cpp
new file mode 100644
index 0000000..4935263
index 0000000..16013ab
--- /dev/null
+++ b/iridium/trkbar.cpp
@@ -0,0 +1,45 @@
@@ -497,10 +509,10 @@ index 0000000..3c58d22
+
+#endif /* IRIDIUM_TRKNOTIFY_H */
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 2ace1d2..22b0da2 100644
index eac30ae..80a7c8d 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -47,6 +47,8 @@ using std::string;
@@ -46,6 +46,8 @@ using std::string;
namespace net {
@@ -509,7 +521,7 @@ index 2ace1d2..22b0da2 100644
namespace {
// Max number of http redirects to follow. Same number as gecko.
@@ -566,6 +568,11 @@ URLRequest::URLRequest(const GURL& url,
@@ -571,6 +573,11 @@ URLRequest::URLRequest(const GURL& url,
DCHECK(base::MessageLoop::current())
<< "The current base::MessageLoop must exist";
@@ -522,10 +534,10 @@ index 2ace1d2..22b0da2 100644
net_log_.BeginEvent(NetLog::TYPE_REQUEST_ALIVE);
}
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index fcbc445..f328808 100644
index 73e02d9..2e45e11 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -876,6 +876,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
@@ -851,6 +851,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
DISALLOW_COPY_AND_ASSIGN(URLRequest);
};
@@ -535,19 +547,19 @@ index fcbc445..f328808 100644
#endif // NET_URL_REQUEST_URL_REQUEST_H_
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e76c2ef..4219c2e 100644
index e5578f1..9e99693 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -79476,6 +79476,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="62" label="WINDOWS_DESKTOP_SEARCH_INFOBAR_DELEGATE"/>
<int value="63" label="UPDATE_PASSWORD_INFOBAR_DELEGATE"/>
<int value="64" label="DATA_REDUCTION_PROMO_INFOBAR_DELEGATE_ANDROID"/>
@@ -83119,6 +83119,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="65" label="AUTOFILL_CC_ASSIST_INFOBAR_DELEGATE"/>
<int value="66" label="SUBRESOURCE_FILTER_INFOBAR_DELEGATE_ANDROID"/>
<int value="67" label="INSTANT_APPS_INFOBAR_DELEGATE_ANDROID"/>
+ <int value="9001" label="TRACKING_ALERT_INFOBAR_DELEGATE"/>
</enum>
<enum name="InfoBarResponse" type="int">
diff --git a/url/gurl.cc b/url/gurl.cc
index 2b67bee..39add8b 100644
index 2c8f3f5..0d7ccba 100644
--- a/url/gurl.cc
+++ b/url/gurl.cc
@@ -541,6 +541,41 @@ void GURL::Swap(GURL* other) {
@@ -593,10 +605,10 @@ index 2b67bee..39add8b 100644
return out << url.possibly_invalid_spec();
}
diff --git a/url/gurl.h b/url/gurl.h
index 103f1d8..6fc528a 100644
index c9111d3..f64fb82 100644
--- a/url/gurl.h
+++ b/url/gurl.h
@@ -398,6 +398,9 @@ class URL_EXPORT GURL {
@@ -402,6 +402,9 @@ class URL_EXPORT GURL {
return inner_url_.get();
}
@@ -606,7 +618,7 @@ index 103f1d8..6fc528a 100644
private:
// Variant of the string parsing constructor that allows the caller to elect
// retain trailing whitespace, if any, on the passed URL spec, but only if
@@ -442,5 +445,7 @@ class URL_EXPORT GURL {
@@ -446,5 +449,7 @@ class URL_EXPORT GURL {
// Stream operator so GURL can be used in assertion statements.
URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url);
@@ -615,10 +627,10 @@ index 103f1d8..6fc528a 100644
#endif // URL_GURL_H_
diff --git a/url/url_constants.cc b/url/url_constants.cc
index 0388fbc2..42159a8 100644
index 549819e..8218f31 100644
--- a/url/url_constants.cc
+++ b/url/url_constants.cc
@@ -20,6 +20,7 @@ const char kHttpScheme[] = "http";
@@ -21,6 +21,7 @@ const char kHttpScheme[] = "http";
const char kHttpsScheme[] = "https";
const char kJavaScriptScheme[] = "javascript";
const char kMailToScheme[] = "mailto";
@@ -627,10 +639,10 @@ index 0388fbc2..42159a8 100644
const char kWssScheme[] = "wss";
diff --git a/url/url_constants.h b/url/url_constants.h
index fa71164..ce3e9c7 100644
index 3a423d2..79d0541 100644
--- a/url/url_constants.h
+++ b/url/url_constants.h
@@ -26,6 +26,7 @@ URL_EXPORT extern const char kHttpScheme[];
@@ -27,6 +27,7 @@ URL_EXPORT extern const char kHttpScheme[];
URL_EXPORT extern const char kHttpsScheme[];
URL_EXPORT extern const char kJavaScriptScheme[];
URL_EXPORT extern const char kMailToScheme[];
@@ -1,7 +1,7 @@
From e3f164075ae8414606c94485664015861fa696e1 Mon Sep 17 00:00:00 2001
From 1de1399d6a795b965163889080106321e01dce49 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 15 Sep 2014 10:52:32 +0200
Subject: [PATCH 01/55] net/cert: increase default key length for
Subject: [PATCH 01/52] net/cert: increase default key length for
newly-generated RSA keys
Should we add something for chrome://settings, or just leave
@@ -11,10 +11,10 @@ it as hidden as it was before?
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/cert/x509_util.cc b/net/cert/x509_util.cc
index b0e343ac..6d30874 100644
index 51e7b6a..a5b2fad 100644
--- a/net/cert/x509_util.cc
+++ b/net/cert/x509_util.cc
@@ -18,7 +18,7 @@ namespace net {
@@ -19,7 +19,7 @@ namespace net {
namespace x509_util {
// RSA keys created by CreateKeyAndSelfSignedCert will be of this length.
@@ -1,7 +1,7 @@
From d0a43614100cc8b8bfce23012dec44a0acd86b5b Mon Sep 17 00:00:00 2001
From 21473570146c5ede6b42d831486604557a850650 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 13 Feb 2015 01:04:21 +0100
Subject: [PATCH 20/55] prefs: always prompt for download directory by default
Subject: [PATCH 17/52] prefs: always prompt for download directory by default
If the user opens a link, one of two things might happen. The URI
resolves to a "web page" and will be displayed, then everything is
@@ -28,10 +28,10 @@ TLDR: Do not let files sneak onto the disk too easily.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
index 01669d4..a544fdd 100644
index 05039fe..cbdf031 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -199,7 +199,7 @@ void DownloadPrefs::RegisterProfilePrefs(
@@ -201,7 +201,7 @@ void DownloadPrefs::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(
prefs::kPromptForDownload,
@@ -1,17 +1,17 @@
From b834b585832a9be1f087fcf6b251a0e8923ea754 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sat, 13 Sep 2014 17:06:40 +0200
Subject: [PATCH 18/55] prefs: do not store passwords by default
From 8d85b8cc11b037505133297da4cf47434266ec30 Mon Sep 17 00:00:00 2001
From: Robert Nagy <robert@openbsd.org>
Date: Fri, 30 Sep 2016 19:11:03 +0200
Subject: [PATCH 15/52] prefs: do not store passwords by default
---
components/password_manager/core/browser/password_manager.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/password_manager/core/browser/password_manager.cc b/components/password_manager/core/browser/password_manager.cc
index f4a5750..b0ec8d8 100644
index 677df633..1e98327 100644
--- a/components/password_manager/core/browser/password_manager.cc
+++ b/components/password_manager/core/browser/password_manager.cc
@@ -142,7 +142,7 @@ void PasswordManager::RegisterProfilePrefs(
@@ -141,7 +141,7 @@ void PasswordManager::RegisterProfilePrefs(
#else
uint32_t flags = user_prefs::PrefRegistrySyncable::SYNCABLE_PREF;
#endif
@@ -1,7 +1,7 @@
From d207fc1a9321badd86b9d2699130d033f561059e Mon Sep 17 00:00:00 2001
From 7fad4e95f0bca37d57bd79bd79fa33f4b7d454df Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 9 Nov 2014 01:54:27 +0100
Subject: [PATCH 45/55] promo: disable Google promotion fetching
Subject: [PATCH 40/52] promo: disable Google promotion fetching
Documentation is scarce, and sprinkled with misleading acronyms.
NTP is not NTP, for example. FWIW:
@@ -17,15 +17,14 @@ Google.
References: https://github.com/iridium-browser/iridium-browser/issues/33
---
chrome/browser/signin/signin_promo.cc | 5 +++--
components/web_resource/notification_promo.cc | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
chrome/browser/signin/signin_promo.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/browser/signin/signin_promo.cc b/chrome/browser/signin/signin_promo.cc
index 80315d4..fb1d9ca 100644
index ceb2054..3e22105 100644
--- a/chrome/browser/signin/signin_promo.cc
+++ b/chrome/browser/signin/signin_promo.cc
@@ -108,6 +108,7 @@ bool ShouldShowPromo(Profile* profile) {
@@ -85,6 +85,7 @@ namespace signin {
bool ShouldShowPromoAtStartup(Profile* profile, bool is_new_profile) {
DCHECK(profile);
@@ -33,6 +32,17 @@ index 80315d4..fb1d9ca 100644
// Don't show if the profile is an incognito.
if (profile->IsOffTheRecord())
@@ -329,8 +330,8 @@ void ForceWebBasedSigninFlowForTesting(bool force) {
void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterIntegerPref(prefs::kSignInPromoStartupCount, 0);
- registry->RegisterBooleanPref(prefs::kSignInPromoUserSkipped, false);
- registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, true);
+ registry->RegisterBooleanPref(prefs::kSignInPromoUserSkipped, true);
+ registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, false);
registry->RegisterBooleanPref(prefs::kSignInPromoShowNTPBubble, false);
}
--
2.6.6
@@ -1,51 +1,50 @@
From 7b4e94fdc70383a032f81345384382f737e417fb Mon Sep 17 00:00:00 2001
From 080d135b52b2b56d053fc36502d79a14b1deb238 Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Wed, 22 Jul 2015 12:24:15 +0200
Subject: [PATCH 43/55] safe_browsing: disable cookie transmission
Subject: [PATCH 39/52] safe_browsing: disable cookie transmission
Disables sending/setting cookies for Safebrowsing requests. This
prevents the long-living tracking cookie from being set.
References: https://github.com/iridium-browser/iridium-browser/issues/37
---
.../safe_browsing/client_side_detection_service.cc | 8 ++++++--
.../safe_browsing/client_side_detection_service.cc | 7 ++++++-
.../browser/safe_browsing/download_protection_service.cc | 4 +++-
chrome/browser/safe_browsing/protocol_manager.cc | 16 ++++++++++++----
chrome/browser/safe_browsing/srt_fetcher_win.cc | 4 +++-
chrome/browser/safe_browsing/threat_details_cache.cc | 3 ++-
5 files changed, 26 insertions(+), 9 deletions(-)
5 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
index 61b2582..9f98df0 100644
index 29e6130..29dcc30 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -314,7 +314,9 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
@@ -304,7 +304,9 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
info->phishing_url = GURL(request->url());
client_phishing_reports_[fetcher] = info;
client_phishing_reports_[fetcher_ptr] = std::move(info);
- fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE);
+ fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
+ net::LOAD_DO_NOT_SEND_COOKIES |
+ net::LOAD_DISABLE_CACHE);
fetcher->SetRequestContext(request_context_getter_.get());
fetcher->SetUploadData("application/octet-stream", request_data);
fetcher->Start();
@@ -360,7 +362,9 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
- fetcher_ptr->SetLoadFlags(net::LOAD_DISABLE_CACHE);
+ fetcher_ptr->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
+ net::LOAD_DO_NOT_SEND_COOKIES |
+ net::LOAD_DISABLE_CACHE);
fetcher_ptr->SetRequestContext(request_context_getter_.get());
fetcher_ptr->SetUploadData("application/octet-stream", request_data);
fetcher_ptr->Start();
@@ -352,6 +354,9 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
info->original_url = GURL(request->url());
client_malware_reports_[fetcher] = info;
client_malware_reports_[fetcher_ptr] = std::move(info);
- fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE);
+ fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
+ net::LOAD_DO_NOT_SEND_COOKIES |
+ net::LOAD_DISABLE_CACHE);
fetcher->SetRequestContext(request_context_getter_.get());
fetcher->SetUploadData("application/octet-stream", request_data);
fetcher->Start();
+ fetcher_ptr->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
+ net::LOAD_DO_NOT_SEND_COOKIES |
+ net::LOAD_DISABLE_CACHE);
fetcher_ptr->SetLoadFlags(net::LOAD_DISABLE_CACHE);
fetcher_ptr->SetRequestContext(request_context_getter_.get());
fetcher_ptr->SetUploadData("application/octet-stream", request_data);
diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
index 6a1ff00..ed9b1b0 100644
index 6bdb383..93b0c5b 100644
--- a/chrome/browser/safe_browsing/download_protection_service.cc
+++ b/chrome/browser/safe_browsing/download_protection_service.cc
@@ -909,7 +909,9 @@ class DownloadProtectionService::CheckClientDownloadRequest
@@ -1008,7 +1008,9 @@ class DownloadProtectionService::CheckClientDownloadRequest
fetcher_ = net::URLFetcher::Create(0 /* ID used for testing */,
GetDownloadRequestUrl(),
net::URLFetcher::POST, this);
@@ -57,7 +56,7 @@ index 6a1ff00..ed9b1b0 100644
fetcher_->SetRequestContext(service_->request_context_getter_.get());
fetcher_->SetUploadData("application/octet-stream",
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index 3d49aa2..0132a51 100644
index 3603117..34b5026e 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -225,7 +225,9 @@ void SafeBrowsingProtocolManager::GetFullHash(
@@ -71,7 +70,7 @@ index 3d49aa2..0132a51 100644
fetcher->SetRequestContext(request_context_getter_.get());
fetcher->SetUploadData("text/plain", get_hash);
fetcher->Start();
@@ -593,7 +595,9 @@ bool SafeBrowsingProtocolManager::IssueBackupUpdateRequest(
@@ -589,7 +591,9 @@ bool SafeBrowsingProtocolManager::IssueBackupUpdateRequest(
GURL backup_update_url = BackupUpdateUrl(backup_update_reason);
request_ = net::URLFetcher::Create(url_fetcher_id_++, backup_update_url,
net::URLFetcher::POST, this);
@@ -82,7 +81,7 @@ index 3d49aa2..0132a51 100644
request_->SetRequestContext(request_context_getter_.get());
request_->SetUploadData("text/plain", update_list_data_);
request_->Start();
@@ -620,7 +624,9 @@ void SafeBrowsingProtocolManager::IssueChunkRequest() {
@@ -616,7 +620,9 @@ void SafeBrowsingProtocolManager::IssueChunkRequest() {
request_type_ = CHUNK_REQUEST;
request_ = net::URLFetcher::Create(url_fetcher_id_++, chunk_url,
net::URLFetcher::GET, this);
@@ -93,7 +92,7 @@ index 3d49aa2..0132a51 100644
request_->SetRequestContext(request_context_getter_.get());
chunk_request_start_ = base::Time::Now();
request_->Start();
@@ -671,7 +677,9 @@ void SafeBrowsingProtocolManager::OnGetChunksComplete(
@@ -667,7 +673,9 @@ void SafeBrowsingProtocolManager::OnGetChunksComplete(
GURL update_url = UpdateUrl(is_extended_reporting);
request_ = net::URLFetcher::Create(url_fetcher_id_++, update_url,
net::URLFetcher::POST, this);
@@ -105,10 +104,10 @@ index 3d49aa2..0132a51 100644
request_->SetUploadData("text/plain", update_list_data_);
request_->Start();
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc
index 10d155c..1fc9fca 100644
index c846c02..b1b87f7 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_win.cc
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc
@@ -252,7 +252,9 @@ class SRTFetcher : public net::URLFetcherDelegate {
@@ -479,7 +479,9 @@ class SRTFetcher : public net::URLFetcherDelegate {
GURL(GetSRTDownloadURL()),
net::URLFetcher::GET,
this)) {
@@ -118,7 +117,7 @@ index 10d155c..1fc9fca 100644
+ net::LOAD_DO_NOT_SEND_COOKIES);
url_fetcher_->SetMaxRetriesOn5xx(3);
url_fetcher_->SaveResponseToTemporaryFile(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
diff --git a/chrome/browser/safe_browsing/threat_details_cache.cc b/chrome/browser/safe_browsing/threat_details_cache.cc
index 900d17f..e2dc3ae 100644
--- a/chrome/browser/safe_browsing/threat_details_cache.cc
@@ -1,20 +1,20 @@
From b43d5285d93e50d35c9463377432d029c2373d73 Mon Sep 17 00:00:00 2001
From 83b9381786f29d0cfedda36486891bbcb46d2666 Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Tue, 7 Jul 2015 17:02:09 +0200
Subject: [PATCH 40/55] safe_browsing: disable incident reporting
Subject: [PATCH 36/52] safe_browsing: disable incident reporting
Disables the safebrowsing incident reporting where you could upload
information about a blocked URL to Google (also added a trk prefix to
the URL so we get notified if this happens again in the future).
---
.../incident_reporting/incident_report_uploader_impl.cc | 2 +-
.../incident_reporting/incident_reporting_service.cc | 3 +++
chrome/browser/safe_browsing/safe_browsing_blocking_page.cc | 10 ++++++----
chrome/browser/safe_browsing/safe_browsing_service.cc | 2 ++
4 files changed, 12 insertions(+), 5 deletions(-)
.../incident_reporting/incident_report_uploader_impl.cc | 2 +-
.../safe_browsing/incident_reporting/incident_reporting_service.cc | 3 +++
chrome/browser/safe_browsing/safe_browsing_blocking_page.cc | 6 ++++--
chrome/browser/safe_browsing/safe_browsing_service.cc | 2 ++
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
index f6503859..7e2c5c7 100644
index 004793d..4666f4a 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
@@ -19,7 +19,7 @@ namespace safe_browsing {
@@ -27,10 +27,10 @@ index f6503859..7e2c5c7 100644
} // namespace
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
index 49f2f77..5279b34 100644
index d510557..f65cf5a 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
@@ -310,6 +310,8 @@ IncidentReportingService::UploadContext::~UploadContext() {
@@ -322,6 +322,8 @@ IncidentReportingService::UploadContext::~UploadContext() {
// static
bool IncidentReportingService::IsEnabledForProfile(Profile* profile) {
@@ -39,7 +39,7 @@ index 49f2f77..5279b34 100644
if (profile->IsOffTheRecord())
return false;
if (!profile->GetPrefs()->GetBoolean(prefs::kSafeBrowsingEnabled))
@@ -318,6 +320,7 @@ bool IncidentReportingService::IsEnabledForProfile(Profile* profile) {
@@ -330,6 +332,7 @@ bool IncidentReportingService::IsEnabledForProfile(Profile* profile) {
return true;
return profile->GetPrefs()->GetBoolean(
prefs::kSafeBrowsingExtendedReportingEnabled);
@@ -48,10 +48,10 @@ index 49f2f77..5279b34 100644
IncidentReportingService::IncidentReportingService(
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index 14c1917..282aac4 100644
index 00d9522..462d545 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -61,17 +61,17 @@ namespace {
@@ -62,10 +62,10 @@ namespace {
// diagnostic page.
#if defined(GOOGLE_CHROME_BUILD)
const char kSbDiagnosticUrl[] =
@@ -63,17 +63,8 @@ index 14c1917..282aac4 100644
+ /* trk:228 */ "https://www.google.com/safebrowsing/diagnostic?site=%s&client=chromium";
#endif
// URL for malware and phishing, V2.
const char kLearnMoreMalwareUrlV2[] =
- "https://www.google.com/transparencyreport/safebrowsing/";
+ /* trk:225 */ "https://www.google.com/transparencyreport/safebrowsing/";
const char kLearnMorePhishingUrlV2[] =
- "https://www.google.com/transparencyreport/safebrowsing/";
+ /* trk:226 */ "https://www.google.com/transparencyreport/safebrowsing/";
// Constants for the V4 phishing string upgrades.
const char kSocialEngineeringTrial[] = "SafeBrowsingSocialEngineeringStrings";
@@ -626,6 +626,7 @@ void SafeBrowsingBlockingPage::PopulateInterstitialStrings(
// URL for the Help Center article on Safe Browsing warnings.
@@ -645,6 +645,7 @@ void SafeBrowsingBlockingPage::PopulateInterstitialStrings(
void SafeBrowsingBlockingPage::PopulateExtendedReportingOption(
base::DictionaryValue* load_time_data) {
@@ -81,7 +72,7 @@ index 14c1917..282aac4 100644
// Only show checkbox if !(HTTPS || incognito-mode).
const bool show = CanShowThreatDetailsOption();
load_time_data->SetBoolean(security_interstitials::kDisplayCheckBox, show);
@@ -643,6 +644,7 @@ void SafeBrowsingBlockingPage::PopulateExtendedReportingOption(
@@ -662,6 +663,7 @@ void SafeBrowsingBlockingPage::PopulateExtendedReportingOption(
load_time_data->SetBoolean(
security_interstitials::kBoxChecked,
IsPrefEnabled(prefs::kSafeBrowsingExtendedReportingEnabled));
@@ -90,18 +81,23 @@ index 14c1917..282aac4 100644
void SafeBrowsingBlockingPage::PopulateMalwareLoadTimeData(
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 5a9da1e..3245fb5 100644
index 4083537..6952564 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -448,7 +448,7 @@ SafeBrowsingDatabaseManager* SafeBrowsingService::CreateDatabaseManager() {
}
@@ -451,11 +451,13 @@ SafeBrowsingDatabaseManager* SafeBrowsingService::CreateDatabaseManager() {
void SafeBrowsingService::RegisterAllDelayedAnalysis() {
-#if defined(FULL_SAFE_BROWSING)
#if defined(FULL_SAFE_BROWSING)
+#if 0
RegisterBinaryIntegrityAnalysis();
RegisterBlacklistLoadAnalysis();
RegisterModuleLoadAnalysis(database_manager_);
RegisterVariationsSeedSignatureAnalysis();
#endif
+#endif
}
SafeBrowsingProtocolConfig SafeBrowsingService::GetProtocolConfig() const {
--
2.6.6
@@ -1,7 +1,7 @@
From 03860ddaf9ac89512f78e6ab75db2eeb515bcabf Mon Sep 17 00:00:00 2001
From 53ca4f597ec2437775b482a9e3104cd422e97fe0 Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Tue, 7 Jul 2015 18:28:46 +0200
Subject: [PATCH 41/55] safe_browsing: disable reporting of safebrowsing
Subject: [PATCH 37/52] safe_browsing: disable reporting of safebrowsing
override
Disables reporting of the safebrowsing override, i.e. the report sent
@@ -12,10 +12,10 @@ This prevents trk:148 (phishing) and trk:149 (malware).
1 file changed, 12 insertions(+)
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
index 569836a..61b2582 100644
index c87885f..29e6130 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -55,11 +55,13 @@ namespace {
@@ -56,11 +56,13 @@ namespace {
REPORT_RESULT_MAX
};
@@ -29,7 +29,7 @@ index 569836a..61b2582 100644
} // namespace
@@ -276,6 +278,10 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
@@ -264,6 +266,10 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
return;
}
@@ -40,7 +40,7 @@ index 569836a..61b2582 100644
// Fill in metadata about which model we used.
if (is_extended_reporting) {
request->set_model_filename(model_loader_extended_->name());
@@ -315,6 +321,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
@@ -305,6 +311,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
// Record that we made a request
phishing_report_times_.push(base::Time::Now());
@@ -48,7 +48,7 @@ index 569836a..61b2582 100644
}
void ClientSideDetectionService::StartClientReportMalwareRequest(
@@ -329,6 +336,10 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
@@ -319,6 +326,10 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
return;
}
@@ -59,7 +59,7 @@ index 569836a..61b2582 100644
std::string request_data;
if (!request->SerializeToString(&request_data)) {
UpdateEnumUMAHistogram(REPORT_FAILED_SERIALIZATION);
@@ -362,6 +373,7 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
@@ -354,6 +365,7 @@ void ClientSideDetectionService::StartClientReportMalwareRequest(
// Record that we made a malware request
malware_report_times_.push(base::Time::Now());
@@ -1,19 +1,19 @@
From 13b5debe84abe2c55ff6108df00259936cb5c484 Mon Sep 17 00:00:00 2001
From bdccada5ca3244d3eaea21c4d194e76ef0f4fa1d Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Mon, 6 Jul 2015 18:18:03 +0200
Subject: [PATCH 42/55] safe_browsing: support trk: prefix
Subject: [PATCH 38/52] safe_browsing: support trk: prefix
---
chrome/browser/safe_browsing/protocol_manager.cc | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index 14560fb..3d49aa2 100644
index e8c600d..3603117 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -768,11 +768,13 @@ GURL SafeBrowsingProtocolManager::GetHashUrl(bool is_extended_reporting) const {
@@ -764,11 +764,13 @@ GURL SafeBrowsingProtocolManager::GetHashUrl(bool is_extended_reporting) const {
GURL SafeBrowsingProtocolManager::NextChunkUrl(const std::string& url) const {
DCHECK(CalledOnValidThread());
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
std::string next_url;
- if (!base::StartsWith(url, "http://", base::CompareCase::INSENSITIVE_ASCII) &&
- !base::StartsWith(url, "https://",
@@ -1,7 +1,7 @@
From 8fc8137708d5a47e53d553d58756538a8531e7d2 Mon Sep 17 00:00:00 2001
From 2120191ddfbe90c79e0bf89da5344ef780d31393 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 13 Feb 2015 00:59:04 +0100
Subject: [PATCH 32/55] updater: disable auto-update
Subject: [PATCH 28/52] updater: disable auto-update
As per http://www.chromium.org/administrators/turning-off-auto-updates ,
the auto update function is decidedly disabled on Linux, i.e.
@@ -15,10 +15,10 @@ the case anyway, since we are based off Chromium, not Chrome.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 5e46b72..1d66d9f 100644
index 3d66888..ad06b0ee 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -667,7 +667,7 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
@@ -668,7 +668,7 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
CFStringRef checkInterval = CFSTR("checkInterval");
CFPropertyListRef plist = CFPreferencesCopyAppValue(checkInterval, app);
if (!plist) {
@@ -1,53 +0,0 @@
From 03f6de83c5457d47f525cefe90054270a0bddbf3 Mon Sep 17 00:00:00 2001
From: Joachim Bauch <jojo@struktur.de>
Date: Mon, 10 Nov 2014 10:54:29 +0100
Subject: [PATCH 02/55] webrtc: disable WebRTC identity store
By default, WebRTC identities (i.e. keypairs/certificates) are cached
for 30 days and stored in a SQLite database in the users home
directory:
$ sqlite3 ~/.config/iridium/Default/WebRTCIdentityStore
sqlite> select origin, identity_name, common_name,
quote(certificate), quote(private_key),
creation_time from webrtc_identity_store;
With this change, a new identity is created for every WebRTC
connection.
---
content/browser/media/webrtc/webrtc_identity_store.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/content/browser/media/webrtc/webrtc_identity_store.cc b/content/browser/media/webrtc/webrtc_identity_store.cc
index 0dc62e4..3e78f77 100644
--- a/content/browser/media/webrtc/webrtc_identity_store.cc
+++ b/content/browser/media/webrtc/webrtc_identity_store.cc
@@ -86,7 +86,7 @@ class WebRTCIdentityRequest {
: origin_(origin),
identity_name_(identity_name),
common_name_(common_name),
- enable_cache_(enable_cache) {}
+ enable_cache_(false) {}
void Cancel(WebRTCIdentityRequestHandle* handle) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -194,6 +194,7 @@ base::Closure WebRTCIdentityStore::RequestIdentity(
const CompletionCallback& callback,
bool enable_cache) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ enable_cache = false;
WebRTCIdentityRequest* request =
FindRequest(origin, identity_name, common_name);
// If there is no identical request in flight, create a new one, queue it,
@@ -267,6 +268,8 @@ void WebRTCIdentityStore::GenerateIdentityCallback(
WebRTCIdentityRequest* request,
WebRTCIdentityRequestResult* result) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ if (result->error == net::OK)
+ DVLOG(2) << "New identity generated.";
if (result->error == net::OK && request->enable_cache()) {
DVLOG(2) << "New identity generated and added to the backend.";
backend_->AddIdentity(request->origin_,
--
2.6.6
+9 -11
View File
@@ -1,12 +1,3 @@
debian/disable/pings.patch
debian/disable/promo.patch
debian/disable/extension-updater.patch
debian/disable/google-api-warning.patch
debian/disable/external-components.patch
debian/disable/default-browser-warning.patch
debian/ps-print.patch
debian/gpu-timeout.patch
inox-patchset/chromium-53.0.2785.92-last-commit-position.patch
inox-patchset/fix-building-without-safebrowsing.patch
inox-patchset/chromium-widevine.patch
@@ -28,7 +19,6 @@ inox-patchset/disable-first-run-behaviour.patch
inox-patchset/disable-battery-status-service.patch
iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
iridium-browser/webrtc-disable-WebRTC-identity-store.patch
iridium-browser/mime_util-force-text-x-suse-ymp-to-be-downloaded.patch
iridium-browser/prefs-do-not-store-passwords-by-default.patch
iridium-browser/prefs-only-keep-cookies-until-exit.patch
@@ -45,6 +35,15 @@ iridium-browser/promo-disable-Google-promotion-fetching.patch
iridium-browser/hotword-disable-at-build-time-by-default.patch
iridium-browser/browser-disable-profile-auto-import-on-first-run.patch
debian/disable/pings.patch
debian/disable/promo.patch
debian/disable/extension-updater.patch
debian/disable/google-api-warning.patch
debian/disable/external-components.patch
debian/disable/default-browser-warning.patch
debian/ps-print.patch
debian/gpu-timeout.patch
ungoogled-chromium/clear-http-auth-cache-menu-item.patch
ungoogled-chromium/disable-crash-reporter.patch
ungoogled-chromium/disable-formatting-in-omnibox.patch
@@ -71,5 +70,4 @@ ungoogled-chromium/enable-page-saving-on-more-pages.patch
ungoogled-chromium/disable-windows-zone-identifier.patch
ungoogled-chromium/fix-bundled-devtools.patch
ungoogled-chromium/remove-get-help-button.patch
ungoogled-chromium/fix-building-with-iridium-trknotify.patch
@@ -1,28 +0,0 @@
# Fix building with iridium::trknotify
--- /dev/null
+++ b/iridium/BUILD.gn
@@ -0,0 +1,13 @@
+source_set("trknotify") {
+ sources = [
+ "trknotify.cpp",
+ "trknotify.h",
+ "trkbar.cpp",
+ "trkbar.h",
+ ]
+ include_dirs = [
+ "..",
+ "../third_party/skia/include/config",
+ "../third_party/skia/include/core",
+ ]
+}
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -283,6 +283,7 @@
deps = [
":browser_dependencies",
+ "//iridium:trknotify",
"//build/config/sanitizers:deps",
"//chrome/common:features",
"//third_party/cld_2",