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

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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper_file_message_filter.h » ('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) 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #include "chrome/common/result_codes.h" 82 #include "chrome/common/result_codes.h"
83 #include "chrome/renderer/render_process_impl.h" 83 #include "chrome/renderer/render_process_impl.h"
84 #include "chrome/renderer/render_thread.h" 84 #include "chrome/renderer/render_thread.h"
85 #include "grit/generated_resources.h" 85 #include "grit/generated_resources.h"
86 #include "ipc/ipc_logging.h" 86 #include "ipc/ipc_logging.h"
87 #include "ipc/ipc_message.h" 87 #include "ipc/ipc_message.h"
88 #include "ipc/ipc_platform_file.h" 88 #include "ipc/ipc_platform_file.h"
89 #include "ipc/ipc_switches.h" 89 #include "ipc/ipc_switches.h"
90 #include "media/base/media_switches.h" 90 #include "media/base/media_switches.h"
91 #include "webkit/fileapi/file_system_path_manager.h" 91 #include "webkit/fileapi/file_system_path_manager.h"
92 #include "webkit/glue/plugins/plugin_switches.h" 92 #include "webkit/plugins/plugin_switches.h"
93 93
94 #if defined(OS_WIN) 94 #if defined(OS_WIN)
95 #include "app/win_util.h" 95 #include "app/win_util.h"
96 #endif 96 #endif
97 97
98 using WebKit::WebCache; 98 using WebKit::WebCache;
99 99
100 #include "third_party/skia/include/core/SkBitmap.h" 100 #include "third_party/skia/include/core/SkBitmap.h"
101 101
102 // TODO(mpcomplete): Remove this after fixing 102 // TODO(mpcomplete): Remove this after fixing
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 IPC::PlatformFileForTransit file; 1284 IPC::PlatformFileForTransit file;
1285 #if defined(OS_POSIX) 1285 #if defined(OS_POSIX)
1286 file = base::FileDescriptor(model_file, false); 1286 file = base::FileDescriptor(model_file, false);
1287 #elif defined(OS_WIN) 1287 #elif defined(OS_WIN)
1288 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1288 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1289 false, DUPLICATE_SAME_ACCESS); 1289 false, DUPLICATE_SAME_ACCESS);
1290 #endif 1290 #endif
1291 Send(new ViewMsg_SetPhishingModel(file)); 1291 Send(new ViewMsg_SetPhishingModel(file));
1292 } 1292 }
1293 } 1293 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper_file_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698