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

Unified Diff: net/base/auth.h

Issue 3040016: Net: Convert username and password to string16. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address comments Created 10 years, 5 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 | « chrome/browser/login_prompt.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/auth.h
===================================================================
--- net/base/auth.h (revision 53997)
+++ net/base/auth.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,6 +9,7 @@
#include <string>
#include "base/ref_counted.h"
+#include "base/string16.h"
namespace net {
@@ -51,8 +52,8 @@
public:
AuthState state; // whether we need, have, or gave up on authentication.
std::wstring scheme; // the authentication scheme.
- std::wstring username; // the username supplied to us for auth.
- std::wstring password; // the password supplied to us for auth.
+ string16 username; // the username supplied to us for auth.
+ string16 password; // the password supplied to us for auth.
// We wouldn't instantiate this class if we didn't need authentication.
AuthData() : state(AUTH_STATE_NEED_AUTH) {}
« no previous file with comments | « chrome/browser/login_prompt.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698