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

Side by Side Diff: components/nacl/loader/nacl_main_platform_delegate.h

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: 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/nacl/loader/nacl_main_platform_delegate_linux.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 5 #ifndef CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
6 #define CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 6 #define CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/common/main_function_params.h" 9 #include "content/public/common/main_function_params.h"
10 10
11 class NaClMainPlatformDelegate { 11 class NaClMainPlatformDelegate {
12 public: 12 public:
13 explicit NaClMainPlatformDelegate( 13 explicit NaClMainPlatformDelegate(
14 const content::MainFunctionParams& parameters); 14 const content::MainFunctionParams& parameters);
15 ~NaClMainPlatformDelegate(); 15 ~NaClMainPlatformDelegate();
16 16
17 // Initiate Lockdown. 17 // Initiate Lockdown.
18 void EnableSandbox(); 18 void EnableSandbox();
jvoung (off chromium) 2015/07/06 19:31:31 I wonder if it's cleaner to just pass the paramete
mlamouri (slow - plz ping) 2015/07/06 20:21:23 Done.
19 19
20 private: 20 private:
21 #if defined(OS_WIN)
21 const content::MainFunctionParams& parameters_; 22 const content::MainFunctionParams& parameters_;
23 #endif
22 24
23 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate); 25 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate);
24 }; 26 };
25 27
26 #endif // CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 28 #endif // CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | components/nacl/loader/nacl_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698