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

Side by Side Diff: chrome_frame/com_message_event.cc

Issue 830002: win: string_util.h -> utf_string_conversions.h fix. (Closed)
Patch Set: Don't remove utf_string_conversions.h from string_util.h just yet Created 10 years, 9 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
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | chrome_frame/np_event_listener.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/string_util.h"
9 #include "base/utf_string_conversions.h"
9 10
10 ComMessageEvent::ComMessageEvent() { 11 ComMessageEvent::ComMessageEvent() {
11 } 12 }
12 13
13 ComMessageEvent::~ComMessageEvent() { 14 ComMessageEvent::~ComMessageEvent() {
14 } 15 }
15 16
16 bool ComMessageEvent::Initialize(IOleContainer* container, 17 bool ComMessageEvent::Initialize(IOleContainer* container,
17 const std::string& message, 18 const std::string& message,
18 const std::string& origin, 19 const std::string& origin,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 HRESULT hr; 149 HRESULT hr;
149 if (flags & DISPATCH_PROPERTYGET) { 150 if (flags & DISPATCH_PROPERTYGET) {
150 result->vt = VT_BSTR; 151 result->vt = VT_BSTR;
151 result->bstrVal = ::SysAllocString(value); 152 result->bstrVal = ::SysAllocString(value);
152 hr = S_OK; 153 hr = S_OK;
153 } else { 154 } else {
154 hr = DISP_E_TYPEMISMATCH; 155 hr = DISP_E_TYPEMISMATCH;
155 } 156 }
156 return hr; 157 return hr;
157 } 158 }
OLDNEW
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | chrome_frame/np_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698