summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request_job.h')
-rw-r--r--net/url_request/url_request_job.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index da6fc16..ca69940 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -4,12 +4,14 @@
#ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
#define NET_URL_REQUEST_URL_REQUEST_JOB_H_
+#pragma once
#include <string>
#include <vector>
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
+#include "base/string16.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "net/base/filter.h"
@@ -170,8 +172,8 @@ class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>,
scoped_refptr<net::AuthChallengeInfo>* auth_info);
// Resend the request with authentication credentials.
- virtual void SetAuth(const std::wstring& username,
- const std::wstring& password);
+ virtual void SetAuth(const string16& username,
+ const string16& password);
// Display the error page without asking for credentials again.
virtual void CancelAuth();