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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 // 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #include "chrome/common/render_messages_params.h" 86 #include "chrome/common/render_messages_params.h"
87 #include "chrome/common/result_codes.h" 87 #include "chrome/common/result_codes.h"
88 #include "chrome/renderer/render_process_impl.h" 88 #include "chrome/renderer/render_process_impl.h"
89 #include "chrome/renderer/render_thread.h" 89 #include "chrome/renderer/render_thread.h"
90 #include "grit/generated_resources.h" 90 #include "grit/generated_resources.h"
91 #include "ipc/ipc_logging.h" 91 #include "ipc/ipc_logging.h"
92 #include "ipc/ipc_message.h" 92 #include "ipc/ipc_message.h"
93 #include "ipc/ipc_platform_file.h" 93 #include "ipc/ipc_platform_file.h"
94 #include "ipc/ipc_switches.h" 94 #include "ipc/ipc_switches.h"
95 #include "media/base/media_switches.h" 95 #include "media/base/media_switches.h"
96 #include "ui/base/ui_base_switches.h"
96 #include "webkit/fileapi/file_system_path_manager.h" 97 #include "webkit/fileapi/file_system_path_manager.h"
97 #include "webkit/plugins/plugin_switches.h" 98 #include "webkit/plugins/plugin_switches.h"
98 99
99 #if defined(OS_WIN) 100 #if defined(OS_WIN)
100 #include <objbase.h> 101 #include <objbase.h>
101 #include "app/win/win_util.h" 102 #include "app/win/win_util.h"
102 #endif 103 #endif
103 104
104 using WebKit::WebCache; 105 using WebKit::WebCache;
105 106
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 IPC::PlatformFileForTransit file; 1289 IPC::PlatformFileForTransit file;
1289 #if defined(OS_POSIX) 1290 #if defined(OS_POSIX)
1290 file = base::FileDescriptor(model_file, false); 1291 file = base::FileDescriptor(model_file, false);
1291 #elif defined(OS_WIN) 1292 #elif defined(OS_WIN)
1292 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1293 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1293 false, DUPLICATE_SAME_ACCESS); 1294 false, DUPLICATE_SAME_ACCESS);
1294 #endif 1295 #endif
1295 Send(new ViewMsg_SetPhishingModel(file)); 1296 Send(new ViewMsg_SetPhishingModel(file));
1296 } 1297 }
1297 } 1298 }
OLDNEW
« no previous file with comments | « chrome/browser/remoting/remoting_resources_source.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