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

Unified Diff: components/encryptor/keychain_password_mac.mm

Issue 200623002: [Mac] Chromium builds shouldn't ask for access to Chrome's own secure data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/encryptor/keychain_password_mac.mm
diff --git a/components/encryptor/keychain_password_mac.mm b/components/encryptor/keychain_password_mac.mm
index 7a078bf0e914b9857b2344efb75f84b625c31538..e2c7fff90a1242d371c30464213a607c2b1df0f7 100644
--- a/components/encryptor/keychain_password_mac.mm
+++ b/components/encryptor/keychain_password_mac.mm
@@ -51,8 +51,13 @@ std::string KeychainPassword::GetPassword() const {
// These two strings ARE indeed user facing. But they are used to access
// the encryption keyword. So as to not lose encrypted data when system
// locale changes we DO NOT LOCALIZE.
+#if defined(OFFICIAL_BUILD)
const std::string service_name = "Chrome Safe Storage";
const std::string account_name = "Chrome";
+#else
+ const std::string service_name = "Chromium Safe Storage";
+ const std::string account_name = "Chromium";
+#endif
UInt32 password_length = 0;
void* password_data = NULL;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698