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

Side by Side Diff: chrome_frame/http_negotiate.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/external_tab.h ('k') | chrome_frame/http_negotiate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_HTTP_NEGOTIATE_H_ 5 #ifndef CHROME_FRAME_HTTP_NEGOTIATE_H_
6 #define CHROME_FRAME_HTTP_NEGOTIATE_H_ 6 #define CHROME_FRAME_HTTP_NEGOTIATE_H_
7 7
8 #include <shdeprecated.h> 8 #include <shdeprecated.h>
9 #include <urlmon.h> 9 #include <urlmon.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/scoped_comptr_win.h" 14 #include "base/win/scoped_comptr.h"
15 15
16 // Typedefs for IHttpNegotiate methods. 16 // Typedefs for IHttpNegotiate methods.
17 typedef HRESULT (STDMETHODCALLTYPE* IHttpNegotiate_BeginningTransaction_Fn)( 17 typedef HRESULT (STDMETHODCALLTYPE* IHttpNegotiate_BeginningTransaction_Fn)(
18 IHttpNegotiate* me, LPCWSTR url, LPCWSTR headers, DWORD reserved, 18 IHttpNegotiate* me, LPCWSTR url, LPCWSTR headers, DWORD reserved,
19 LPWSTR* additional_headers); 19 LPWSTR* additional_headers);
20 typedef HRESULT (STDMETHODCALLTYPE* IHttpNegotiate_OnResponse_Fn)( 20 typedef HRESULT (STDMETHODCALLTYPE* IHttpNegotiate_OnResponse_Fn)(
21 IHttpNegotiate* me, DWORD response_code, LPCWSTR response_header, 21 IHttpNegotiate* me, DWORD response_code, LPCWSTR response_header,
22 LPCWSTR request_header, LPWSTR* additional_request_headers); 22 LPCWSTR request_header, LPWSTR* additional_request_headers);
23 23
24 // Typedefs for IBindStatusCallback methods. 24 // Typedefs for IBindStatusCallback methods.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // when |headers| contains an User-Agent string. 82 // when |headers| contains an User-Agent string.
83 std::string AppendCFUserAgentString(LPCWSTR headers, 83 std::string AppendCFUserAgentString(LPCWSTR headers,
84 LPCWSTR additional_headers); 84 LPCWSTR additional_headers);
85 85
86 // Adds or replaces the User-Agent header in a set of HTTP headers. 86 // Adds or replaces the User-Agent header in a set of HTTP headers.
87 // Arguments are the same as with AppendCFUserAgentString. 87 // Arguments are the same as with AppendCFUserAgentString.
88 std::string ReplaceOrAddUserAgent(LPCWSTR headers, 88 std::string ReplaceOrAddUserAgent(LPCWSTR headers,
89 const std::string& user_agent_value); 89 const std::string& user_agent_value);
90 90
91 #endif // CHROME_FRAME_HTTP_NEGOTIATE_H_ 91 #endif // CHROME_FRAME_HTTP_NEGOTIATE_H_
OLDNEW
« no previous file with comments | « chrome_frame/external_tab.h ('k') | chrome_frame/http_negotiate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698