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

Side by Side Diff: chrome_frame/com_message_event.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/chrome_tab.cc ('k') | chrome_frame/crash_reporting/nt_loader_unittest.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 #include "chrome_frame/com_message_event.h" 5 #include "chrome_frame/com_message_event.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 11
12 ComMessageEvent::ComMessageEvent() { 12 ComMessageEvent::ComMessageEvent() {
13 } 13 }
14 14
15 ComMessageEvent::~ComMessageEvent() { 15 ComMessageEvent::~ComMessageEvent() {
16 } 16 }
17 17
18 bool ComMessageEvent::Initialize(IOleContainer* container, 18 bool ComMessageEvent::Initialize(IOleContainer* container,
19 const std::string& message, 19 const std::string& message,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 HRESULT hr; 152 HRESULT hr;
153 if (flags & DISPATCH_PROPERTYGET) { 153 if (flags & DISPATCH_PROPERTYGET) {
154 result->vt = VT_BSTR; 154 result->vt = VT_BSTR;
155 result->bstrVal = ::SysAllocString(value); 155 result->bstrVal = ::SysAllocString(value);
156 hr = S_OK; 156 hr = S_OK;
157 } else { 157 } else {
158 hr = DISP_E_TYPEMISMATCH; 158 hr = DISP_E_TYPEMISMATCH;
159 } 159 }
160 return hr; 160 return hr;
161 } 161 }
OLDNEW
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/crash_reporting/nt_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698