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

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

Issue 113169: Move win_util.h from common to app. (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
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 25 matching lines...) Expand all
36 #include "chrome/common/plugin_messages.h" 36 #include "chrome/common/plugin_messages.h"
37 #include "chrome/common/render_messages.h" 37 #include "chrome/common/render_messages.h"
38 #include "net/base/cookie_monster.h" 38 #include "net/base/cookie_monster.h"
39 #include "net/base/file_stream.h" 39 #include "net/base/file_stream.h"
40 #include "net/base/io_buffer.h" 40 #include "net/base/io_buffer.h"
41 #include "net/url_request/url_request.h" 41 #include "net/url_request/url_request.h"
42 #include "net/url_request/url_request_context.h" 42 #include "net/url_request/url_request_context.h"
43 #include "webkit/glue/plugins/plugin_constants_win.h" 43 #include "webkit/glue/plugins/plugin_constants_win.h"
44 44
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 #include "app/win_util.h"
46 #include "base/win_util.h" 47 #include "base/win_util.h"
47 #include "chrome/browser/sandbox_policy.h" 48 #include "chrome/browser/sandbox_policy.h"
48 #include "chrome/common/win_util.h"
49 #include "sandbox/src/sandbox.h" 49 #include "sandbox/src/sandbox.h"
50 #endif 50 #endif
51 51
52 static const char kDefaultPluginFinderURL[] = 52 static const char kDefaultPluginFinderURL[] =
53 "http://dl.google.com/chrome/plugins/plugins2.xml"; 53 "http://dl.google.com/chrome/plugins/plugins2.xml";
54 54
55 #if defined(OS_WIN) 55 #if defined(OS_WIN)
56 56
57 // The PluginDownloadUrlHelper is used to handle one download URL request 57 // The PluginDownloadUrlHelper is used to handle one download URL request
58 // from the plugin. Each download request is handled by a new instance 58 // from the plugin. Each download request is handled by a new instance
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 DCHECK(MessageLoop::current() == 558 DCHECK(MessageLoop::current() ==
559 ChromeThread::GetMessageLoop(ChromeThread::IO)); 559 ChromeThread::GetMessageLoop(ChromeThread::IO));
560 560
561 ChromePluginLib *chrome_plugin = ChromePluginLib::Find(info_.path); 561 ChromePluginLib *chrome_plugin = ChromePluginLib::Find(info_.path);
562 if (chrome_plugin) { 562 if (chrome_plugin) {
563 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]));
564 uint32 data_len = static_cast<uint32>(data.size()); 564 uint32 data_len = static_cast<uint32>(data.size());
565 chrome_plugin->functions().on_message(data_ptr, data_len); 565 chrome_plugin->functions().on_message(data_ptr, data_len);
566 } 566 }
567 } 567 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_unittest.cc ('k') | chrome/browser/printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698