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

Side by Side Diff: chrome_frame/urlmon_bind_status_callback.cc

Issue 8317018: Have Chrome Frame build its .idl artifacts into a sub-folder of SHARED_INTERMEDIATE_DIR, a global... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
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/urlmon_bind_status_callback.h" 5 #include "chrome_frame/urlmon_bind_status_callback.h"
6 6
7 #include <mshtml.h> 7 #include <mshtml.h>
8 #include <shlguid.h> 8 #include <shlguid.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome_frame/bind_context_info.h" 15 #include "chrome_frame/bind_context_info.h"
16 #include "chrome_frame/exception_barrier.h" 16 #include "chrome_frame/exception_barrier.h"
17 #include "chrome_frame/urlmon_moniker.h" 17 #include "chrome_frame/urlmon_moniker.h"
18 #include "chrome_tab.h" // NOLINT 18 #include "chrome_frame/chrome_tab.h"
grt (UTC plus 2) 2011/10/18 15:56:24 move up above chrome_frame/exception_barrier.h
robertshield 2011/10/18 17:31:10 Done.
19 19
20 20
21 // A helper to given feed data to the specified |bscb| using 21 // A helper to given feed data to the specified |bscb| using
22 // CacheStream instance. 22 // CacheStream instance.
23 HRESULT CacheStream::BSCBFeedData(IBindStatusCallback* bscb, const char* data, 23 HRESULT CacheStream::BSCBFeedData(IBindStatusCallback* bscb, const char* data,
24 size_t size, CLIPFORMAT clip_format, 24 size_t size, CLIPFORMAT clip_format,
25 size_t flags, bool eof) { 25 size_t flags, bool eof) {
26 if (!bscb) { 26 if (!bscb) {
27 NOTREACHED() << "invalid IBindStatusCallback"; 27 NOTREACHED() << "invalid IBindStatusCallback";
28 return E_INVALIDARG; 28 return E_INVALIDARG;
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 case BINDSTATUS_CACHEFILENAMEAVAILABLE: 418 case BINDSTATUS_CACHEFILENAMEAVAILABLE:
419 case BINDSTATUS_SERVER_MIMETYPEAVAILABLE: 419 case BINDSTATUS_SERVER_MIMETYPEAVAILABLE:
420 return true; 420 return true;
421 default: 421 default:
422 break; 422 break;
423 } 423 }
424 } 424 }
425 425
426 return false; 426 return false;
427 } 427 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698