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

Side by Side Diff: chrome_frame/http_negotiate.cc

Issue 16391006: Use a direct include of strings headers in chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/html_utils.cc ('k') | chrome_frame/metrics_service.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome_frame/http_negotiate.h" 5 #include "chrome_frame/http_negotiate.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 #include <htiframe.h> 9 #include <htiframe.h>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "chrome_frame/bho.h" 16 #include "chrome_frame/bho.h"
17 #include "chrome_frame/exception_barrier.h" 17 #include "chrome_frame/exception_barrier.h"
18 #include "chrome_frame/html_utils.h" 18 #include "chrome_frame/html_utils.h"
19 #include "chrome_frame/urlmon_moniker.h" 19 #include "chrome_frame/urlmon_moniker.h"
20 #include "chrome_frame/urlmon_url_request.h" 20 #include "chrome_frame/urlmon_url_request.h"
21 #include "chrome_frame/utils.h" 21 #include "chrome_frame/utils.h"
22 #include "chrome_frame/vtable_patch_manager.h" 22 #include "chrome_frame/vtable_patch_manager.h"
23 #include "net/http/http_response_headers.h" 23 #include "net/http/http_response_headers.h"
24 #include "net/http/http_util.h" 24 #include "net/http/http_util.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 *additional_headers = reinterpret_cast<wchar_t*>(::CoTaskMemRealloc( 281 *additional_headers = reinterpret_cast<wchar_t*>(::CoTaskMemRealloc(
282 *additional_headers, 282 *additional_headers,
283 (updated_headers.length() + 1) * sizeof(wchar_t))); 283 (updated_headers.length() + 1) * sizeof(wchar_t)));
284 lstrcpyW(*additional_headers, ASCIIToWide(updated_headers).c_str()); 284 lstrcpyW(*additional_headers, ASCIIToWide(updated_headers).c_str());
285 } else { 285 } else {
286 // TODO(erikwright): Remove the user agent if it is present (i.e., because 286 // TODO(erikwright): Remove the user agent if it is present (i.e., because
287 // of PostPlatform setting in the registry). 287 // of PostPlatform setting in the registry).
288 } 288 }
289 return S_OK; 289 return S_OK;
290 } 290 }
OLDNEW
« no previous file with comments | « chrome_frame/html_utils.cc ('k') | chrome_frame/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698