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

Unified Diff: chrome/browser/ui/login/login_model.h

Issue 8413022: wstring cleanup in browser/ui/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 9 years, 2 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/ui/login/login_model.h
diff --git a/chrome/browser/ui/login/login_model.h b/chrome/browser/ui/login/login_model.h
index 94d34781453a05296c26dd240a53eb9b7e1df158..30db3b5fe7a285aa930750fe0b556633c20eb5d2 100644
--- a/chrome/browser/ui/login/login_model.h
+++ b/chrome/browser/ui/login/login_model.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_UI_LOGIN_LOGIN_MODEL_H_
#pragma once
-#include <string>
+#include "base/string16.h"
// Simple Model & Observer interfaces for a LoginView to facilitate exchanging
// information.
@@ -14,8 +14,8 @@ class LoginModelObserver {
public:
// Called by the model when a username,password pair has been identified
// as a match for the pending login prompt.
- virtual void OnAutofillDataAvailable(const std::wstring& username,
- const std::wstring& password) = 0;
+ virtual void OnAutofillDataAvailable(const string16& username,
+ const string16& password) = 0;
protected:
virtual ~LoginModelObserver() {}
« no previous file with comments | « chrome/browser/password_manager/password_manager.cc ('k') | chrome/browser/ui/login/login_prompt_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698