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

Unified Diff: components/nacl/loader/nacl_main_platform_delegate_win.cc

Issue 1221333008: Fix unused private field errors in components/nacl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_private_fields
Patch Set: rename Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/loader/nacl_main_platform_delegate_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_main_platform_delegate_win.cc
diff --git a/components/nacl/loader/nacl_main_platform_delegate_win.cc b/components/nacl/loader/nacl_main_platform_delegate_win.cc
index cc75ad282f1b0f145dbea9d44d65970c5ced7c3c..268113816c2e5df2f3e10c8945aecedf0d3a841d 100644
--- a/components/nacl/loader/nacl_main_platform_delegate_win.cc
+++ b/components/nacl/loader/nacl_main_platform_delegate_win.cc
@@ -5,19 +5,13 @@
#include "components/nacl/loader/nacl_main_platform_delegate.h"
#include "base/logging.h"
+#include "content/public/common/main_function_params.h"
#include "sandbox/win/src/sandbox.h"
-NaClMainPlatformDelegate::NaClMainPlatformDelegate(
- const content::MainFunctionParams& parameters)
- : parameters_(parameters) {
-}
-
-NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
-}
-
-void NaClMainPlatformDelegate::EnableSandbox() {
+void NaClMainPlatformDelegate::EnableSandbox(
+ const content::MainFunctionParams& parameters) {
sandbox::TargetServices* target_services =
- parameters_.sandbox_info->target_services;
+ parameters.sandbox_info->target_services;
CHECK(target_services) << "NaCl-Win EnableSandbox: No Target Services!";
// Cause advapi32 to load before the sandbox is turned on.
« no previous file with comments | « components/nacl/loader/nacl_main_platform_delegate_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698