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

Unified Diff: components/nacl/common/nacl_paths.cc

Issue 1407443003: Non-SFI mode: Remove kUseNaClHelperNonSfi command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | components/nacl/common/nacl_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_paths.cc
diff --git a/components/nacl/common/nacl_paths.cc b/components/nacl/common/nacl_paths.cc
index f7093800bc1f032cc81bd0937a4ca6ab53d471cf..6d486b01a20bacf74f883cc667625cac3db42f95 100644
--- a/components/nacl/common/nacl_paths.cc
+++ b/components/nacl/common/nacl_paths.cc
@@ -40,15 +40,6 @@ bool PathProvider(int key, base::FilePath* result) {
case FILE_NACL_HELPER:
return GetNaClHelperPath(kInternalNaClHelperFileName, result);
case FILE_NACL_HELPER_NONSFI:
- if (base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kUseNaClHelperNonSfi) == "false") {
- // nacl_helper_nonsfi is disabled by the flag. So, use nacl_helper
- // in Non-SFI mode instead. This is old behavior just in case.
- // TODO(hidehiko): Remove this code path, when the old feature is
- // cleaned after nacl_helper_nonsfi is officially launched and
- // its stability is confirmed.
- return GetNaClHelperPath(kInternalNaClHelperFileName, result);
- }
return GetNaClHelperPath(kInternalNaClHelperNonSfiFileName, result);
case FILE_NACL_HELPER_BOOTSTRAP:
return GetNaClHelperPath(kInternalNaClHelperBootstrapFileName, result);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | components/nacl/common/nacl_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698