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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #include "chrome/common/result_codes.h" 81 #include "chrome/common/result_codes.h"
82 #include "chrome/renderer/render_process_impl.h" 82 #include "chrome/renderer/render_process_impl.h"
83 #include "chrome/renderer/render_thread.h" 83 #include "chrome/renderer/render_thread.h"
84 #include "grit/generated_resources.h" 84 #include "grit/generated_resources.h"
85 #include "ipc/ipc_logging.h" 85 #include "ipc/ipc_logging.h"
86 #include "ipc/ipc_message.h" 86 #include "ipc/ipc_message.h"
87 #include "ipc/ipc_platform_file.h" 87 #include "ipc/ipc_platform_file.h"
88 #include "ipc/ipc_switches.h" 88 #include "ipc/ipc_switches.h"
89 #include "media/base/media_switches.h" 89 #include "media/base/media_switches.h"
90 #include "webkit/fileapi/file_system_path_manager.h" 90 #include "webkit/fileapi/file_system_path_manager.h"
91 #include "webkit/glue/plugins/plugin_switches.h" 91 #include "webkit/plugins/plugin_switches.h"
92 92
93 #if defined(OS_WIN) 93 #if defined(OS_WIN)
94 #include "app/win_util.h" 94 #include "app/win_util.h"
95 #endif 95 #endif
96 96
97 using WebKit::WebCache; 97 using WebKit::WebCache;
98 98
99 #include "third_party/skia/include/core/SkBitmap.h" 99 #include "third_party/skia/include/core/SkBitmap.h"
100 100
101 // TODO(mpcomplete): Remove this after fixing 101 // TODO(mpcomplete): Remove this after fixing
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 IPC::PlatformFileForTransit file; 1245 IPC::PlatformFileForTransit file;
1246 #if defined(OS_POSIX) 1246 #if defined(OS_POSIX)
1247 file = base::FileDescriptor(model_file, false); 1247 file = base::FileDescriptor(model_file, false);
1248 #elif defined(OS_WIN) 1248 #elif defined(OS_WIN)
1249 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1249 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1250 false, DUPLICATE_SAME_ACCESS); 1250 false, DUPLICATE_SAME_ACCESS);
1251 #endif 1251 #endif
1252 Send(new ViewMsg_SetPhishingModel(file)); 1252 Send(new ViewMsg_SetPhishingModel(file));
1253 } 1253 }
1254 } 1254 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper_file_message_filter.h » ('j') | ppapi/proxy/ppb_pdf_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698