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

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

Issue 1609133002: Change Win32k PPAPI lockdown to use finch params for mime type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review changes Created 4 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
« no previous file with comments | « no previous file | 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 <set> 10 #include <set>
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 void GetAdditionalMappedFilesForChildProcess( 272 void GetAdditionalMappedFilesForChildProcess(
273 const base::CommandLine& command_line, 273 const base::CommandLine& command_line,
274 int child_process_id, 274 int child_process_id,
275 content::FileDescriptorInfo* mappings) override; 275 content::FileDescriptorInfo* mappings) override;
276 #endif // defined(OS_ANDROID) 276 #endif // defined(OS_ANDROID)
277 #if defined(OS_WIN) 277 #if defined(OS_WIN)
278 const wchar_t* GetResourceDllName() override; 278 const wchar_t* GetResourceDllName() override;
279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; 279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override;
280 base::string16 GetAppContainerSidForSandboxType( 280 base::string16 GetAppContainerSidForSandboxType(
281 int sandbox_type) const override; 281 int sandbox_type) const override;
282 bool IsWin32kLockdownEnabledForMimeType(
283 const std::string& mime_type) const override;
282 #endif 284 #endif
283 void RegisterFrameMojoShellServices( 285 void RegisterFrameMojoShellServices(
284 content::ServiceRegistry* registry, 286 content::ServiceRegistry* registry,
285 content::RenderFrameHost* render_frame_host) override; 287 content::RenderFrameHost* render_frame_host) override;
286 void RegisterRenderFrameMojoServices( 288 void RegisterRenderFrameMojoServices(
287 content::ServiceRegistry* registry, 289 content::ServiceRegistry* registry,
288 content::RenderFrameHost* render_frame_host) override; 290 content::RenderFrameHost* render_frame_host) override;
289 void RegisterOutOfProcessMojoApplications( 291 void RegisterOutOfProcessMojoApplications(
290 OutOfProcessMojoApplicationMap* apps) override; 292 OutOfProcessMojoApplicationMap* apps) override;
291 void OpenURL(content::BrowserContext* browser_context, 293 void OpenURL(content::BrowserContext* browser_context,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // Vector of additional ChromeContentBrowserClientParts. 346 // Vector of additional ChromeContentBrowserClientParts.
345 // Parts are deleted in the reverse order they are added. 347 // Parts are deleted in the reverse order they are added.
346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 348 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
347 349
348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 350 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
349 351
350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 352 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
351 }; 353 };
352 354
353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 355 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698