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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2411483002: Enable win32k lockdown for ppapi processes. (Closed)
Patch Set: readd entry Created 4 years, 2 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chrome_content_browser_client.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 void GetAdditionalMappedFilesForChildProcess( 273 void GetAdditionalMappedFilesForChildProcess(
274 const base::CommandLine& command_line, 274 const base::CommandLine& command_line,
275 int child_process_id, 275 int child_process_id,
276 content::FileDescriptorInfo* mappings) override; 276 content::FileDescriptorInfo* mappings) override;
277 #endif // defined(OS_ANDROID) 277 #endif // defined(OS_ANDROID)
278 #if defined(OS_WIN) 278 #if defined(OS_WIN)
279 const wchar_t* GetResourceDllName() override; 279 const wchar_t* GetResourceDllName() override;
280 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; 280 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override;
281 base::string16 GetAppContainerSidForSandboxType( 281 base::string16 GetAppContainerSidForSandboxType(
282 int sandbox_type) const override; 282 int sandbox_type) const override;
283 bool IsWin32kLockdownEnabledForMimeType(
284 const std::string& mime_type) const override;
285 #endif 283 #endif
286 void ExposeInterfacesToRenderer( 284 void ExposeInterfacesToRenderer(
287 shell::InterfaceRegistry* registry, 285 shell::InterfaceRegistry* registry,
288 content::RenderProcessHost* render_process_host) override; 286 content::RenderProcessHost* render_process_host) override;
289 void ExposeInterfacesToMediaService( 287 void ExposeInterfacesToMediaService(
290 shell::InterfaceRegistry* registry, 288 shell::InterfaceRegistry* registry,
291 content::RenderFrameHost* render_frame_host) override; 289 content::RenderFrameHost* render_frame_host) override;
292 void RegisterRenderFrameMojoInterfaces( 290 void RegisterRenderFrameMojoInterfaces(
293 shell::InterfaceRegistry* registry, 291 shell::InterfaceRegistry* registry,
294 content::RenderFrameHost* render_frame_host) override; 292 content::RenderFrameHost* render_frame_host) override;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // Vector of additional ChromeContentBrowserClientParts. 356 // Vector of additional ChromeContentBrowserClientParts.
359 // Parts are deleted in the reverse order they are added. 357 // Parts are deleted in the reverse order they are added.
360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 358 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
361 359
362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 360 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
363 361
364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 362 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
365 }; 363 };
366 364
367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698