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

Side by Side Diff: chrome/browser/plugin_process_host.cc

Issue 115553: Remove TRACK_HWND_CREATION/TRACK_HWND_DESTRUCTION macro since the bug it was ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « base/win_util.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/plugin_process_host.h" 7 #include "chrome/browser/plugin_process_host.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 27 matching lines...) Expand all
38 #include "chrome/common/render_messages.h" 38 #include "chrome/common/render_messages.h"
39 #include "net/base/cookie_monster.h" 39 #include "net/base/cookie_monster.h"
40 #include "net/base/file_stream.h" 40 #include "net/base/file_stream.h"
41 #include "net/base/io_buffer.h" 41 #include "net/base/io_buffer.h"
42 #include "net/url_request/url_request.h" 42 #include "net/url_request/url_request.h"
43 #include "net/url_request/url_request_context.h" 43 #include "net/url_request/url_request_context.h"
44 #include "webkit/glue/plugins/plugin_constants_win.h" 44 #include "webkit/glue/plugins/plugin_constants_win.h"
45 45
46 #if defined(OS_WIN) 46 #if defined(OS_WIN)
47 #include "app/win_util.h" 47 #include "app/win_util.h"
48 #include "base/win_util.h"
49 #include "chrome/browser/sandbox_policy.h" 48 #include "chrome/browser/sandbox_policy.h"
50 #include "sandbox/src/sandbox.h" 49 #include "sandbox/src/sandbox.h"
51 #endif 50 #endif
52 51
53 static const char kDefaultPluginFinderURL[] = 52 static const char kDefaultPluginFinderURL[] =
54 "http://dl.google.com/chrome/plugins/plugins2.xml"; 53 "http://dl.google.com/chrome/plugins/plugins2.xml";
55 54
56 #if defined(OS_WIN) 55 #if defined(OS_WIN)
57 56
58 // The PluginDownloadUrlHelper is used to handle one download URL request 57 // The PluginDownloadUrlHelper is used to handle one download URL request
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 DCHECK(MessageLoop::current() == 558 DCHECK(MessageLoop::current() ==
560 ChromeThread::GetMessageLoop(ChromeThread::IO)); 559 ChromeThread::GetMessageLoop(ChromeThread::IO));
561 560
562 ChromePluginLib *chrome_plugin = ChromePluginLib::Find(info_.path); 561 ChromePluginLib *chrome_plugin = ChromePluginLib::Find(info_.path);
563 if (chrome_plugin) { 562 if (chrome_plugin) {
564 void *data_ptr = const_cast<void*>(reinterpret_cast<const void*>(&data[0])); 563 void *data_ptr = const_cast<void*>(reinterpret_cast<const void*>(&data[0]));
565 uint32 data_len = static_cast<uint32>(data.size()); 564 uint32 data_len = static_cast<uint32>(data.size());
566 chrome_plugin->functions().on_message(data_ptr, data_len); 565 chrome_plugin->functions().on_message(data_ptr, data_len);
567 } 566 }
568 } 567 }
OLDNEW
« no previous file with comments | « base/win_util.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698