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

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

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.h
diff --git a/chrome/browser/sync/test/integration/passwords_helper.h b/chrome/browser/sync/test/integration/passwords_helper.h
index 6b1c5a9fc8f402f9c200d2400461d07225ec1679..dc76fa846a1fc9f3d9168224972878382a69e85e 100644
--- a/chrome/browser/sync/test/integration/passwords_helper.h
+++ b/chrome/browser/sync/test/integration/passwords_helper.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_
+#include <memory>
#include <vector>
#include "base/memory/scoped_vector.h"
@@ -43,18 +44,6 @@ void RemoveLogin(password_manager::PasswordStore* store,
// Removes all password forms from the password store |store|.
void RemoveLogins(password_manager::PasswordStore* store);
-// Sets the cryptographer's encryption passphrase for the profile at index
-// |index| to |passphrase|, and passphrase type |type|.
-void SetEncryptionPassphrase(
- int index,
- const std::string& passphrase,
- browser_sync::ProfileSyncService::PassphraseType type);
-
-// Sets the cryptographer's decryption passphrase for the profile at index
-// |index| to |passphrase|. Returns false if the operation failed, and true
-// otherwise.
-bool SetDecryptionPassphrase(int index, const std::string& passphrase);
-
// Gets the password store of the profile with index |index|.
password_manager::PasswordStore* GetPasswordStore(int index);

Powered by Google App Engine
This is Rietveld 408576698