| Index: google_apis/gaia/account_tracker_unittest.cc
|
| diff --git a/google_apis/gaia/account_tracker_unittest.cc b/google_apis/gaia/account_tracker_unittest.cc
|
| index 61fded91a1ad6689022140f189ad7fc5b4a990b4..e846bb14dab2549d6a7110844e3c7771e3b59d04 100644
|
| --- a/google_apis/gaia/account_tracker_unittest.cc
|
| +++ b/google_apis/gaia/account_tracker_unittest.cc
|
| @@ -29,7 +29,7 @@ enum TrackingEventType {
|
| SIGN_OUT
|
| };
|
|
|
| -std::string AccountKeyToObfuscatedId(const std::string email) {
|
| +std::string AccountKeyToObfuscatedId(const std::string& email) {
|
| return "obfid-" + email;
|
| }
|
|
|
| @@ -294,7 +294,7 @@ class IdentityAccountTrackerTest : public testing::Test {
|
|
|
| // Helpers to pass fake events to the tracker.
|
|
|
| - void NotifyLogin(const std::string account_key) {
|
| + void NotifyLogin(const std::string& account_key) {
|
| identity_provider()->LogIn(account_key);
|
| }
|
|
|
| @@ -314,7 +314,7 @@ class IdentityAccountTrackerTest : public testing::Test {
|
| username, "access_token-" + username, base::Time::Max());
|
| }
|
|
|
| - std::string GetValidTokenInfoResponse(const std::string account_key) {
|
| + std::string GetValidTokenInfoResponse(const std::string& account_key) {
|
| return std::string("{ \"id\": \"") + AccountKeyToObfuscatedId(account_key) +
|
| "\" }";
|
| }
|
|
|