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

Unified Diff: chrome/browser/sync/test/integration/passwords_helper.cc

Issue 2365763002: [Sync] Removed passphrase helper methods, removed ((n)) pattern, and fixed lint violations. (Closed)
Patch Set: Removed useless pass-through accessors. Created 4 years, 3 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
Index: chrome/browser/sync/test/integration/passwords_helper.cc
diff --git a/chrome/browser/sync/test/integration/passwords_helper.cc b/chrome/browser/sync/test/integration/passwords_helper.cc
index 4f0ee6b4a606eb53b72394a2c8554268e4560036..b21b7064d8b8c04871037a488baff2ba3f9dba4a 100644
--- a/chrome/browser/sync/test/integration/passwords_helper.cc
+++ b/chrome/browser/sync/test/integration/passwords_helper.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/sync/test/integration/passwords_helper.h"
#include <sstream>
+#include <string>
#include <utility>
#include "base/compiler_specific.h"
@@ -123,19 +124,6 @@ void RemoveLogins(PasswordStore* store) {
}
}
-void SetEncryptionPassphrase(
- int index,
- const std::string& passphrase,
- browser_sync::ProfileSyncService::PassphraseType type) {
- ProfileSyncServiceFactory::GetForProfile(
- test()->GetProfile(index))->SetEncryptionPassphrase(passphrase, type);
-}
-
-bool SetDecryptionPassphrase(int index, const std::string& passphrase) {
- return ProfileSyncServiceFactory::GetForProfile(
- test()->GetProfile(index))->SetDecryptionPassphrase(passphrase);
-}
-
PasswordStore* GetPasswordStore(int index) {
return PasswordStoreFactory::GetForProfile(test()->GetProfile(index),
ServiceAccessType::IMPLICIT_ACCESS)

Powered by Google App Engine
This is Rietveld 408576698