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

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

Issue 6677064: Remove last dependencies on chrome\common from chrome\plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « no previous file | chrome/browser/tab_contents/thumbnail_generator.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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #include "ipc/ipc_platform_file.h" 100 #include "ipc/ipc_platform_file.h"
101 #include "ipc/ipc_switches.h" 101 #include "ipc/ipc_switches.h"
102 #include "media/base/media_switches.h" 102 #include "media/base/media_switches.h"
103 #include "ui/base/ui_base_switches.h" 103 #include "ui/base/ui_base_switches.h"
104 #include "webkit/fileapi/file_system_path_manager.h" 104 #include "webkit/fileapi/file_system_path_manager.h"
105 #include "webkit/glue/resource_type.h" 105 #include "webkit/glue/resource_type.h"
106 #include "webkit/plugins/plugin_switches.h" 106 #include "webkit/plugins/plugin_switches.h"
107 107
108 #if defined(OS_WIN) 108 #if defined(OS_WIN)
109 #include <objbase.h> 109 #include <objbase.h>
110 #include "chrome/common/section_util_win.h" 110 #include "content/common/section_util_win.h"
111 #endif 111 #endif
112 112
113 using WebKit::WebCache; 113 using WebKit::WebCache;
114 114
115 #include "third_party/skia/include/core/SkBitmap.h" 115 #include "third_party/skia/include/core/SkBitmap.h"
116 116
117 // TODO(mpcomplete): Remove this after fixing 117 // TODO(mpcomplete): Remove this after fixing
118 // http://code.google.com/p/chromium/issues/detail?id=53991 118 // http://code.google.com/p/chromium/issues/detail?id=53991
119 bool g_log_bug53991 = false; 119 bool g_log_bug53991 = false;
120 120
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 IPC::PlatformFileForTransit file; 1300 IPC::PlatformFileForTransit file;
1301 #if defined(OS_POSIX) 1301 #if defined(OS_POSIX)
1302 file = base::FileDescriptor(model_file, false); 1302 file = base::FileDescriptor(model_file, false);
1303 #elif defined(OS_WIN) 1303 #elif defined(OS_WIN)
1304 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1304 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1305 false, DUPLICATE_SAME_ACCESS); 1305 false, DUPLICATE_SAME_ACCESS);
1306 #endif 1306 #endif
1307 Send(new ViewMsg_SetPhishingModel(file)); 1307 Send(new ViewMsg_SetPhishingModel(file));
1308 } 1308 }
1309 } 1309 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/thumbnail_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698