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

Unified Diff: base/process_util.h

Issue 7346017: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 9 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
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index a7b5aa8cb68da45344b2a575b8f0ed55e48092de..6820d426bedd470f567d4d55d0ab60ae4f7ad471 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -347,17 +347,6 @@ inline bool LaunchAppAsUser(UserTokenHandle token,
BASE_API bool LaunchProcess(const std::vector<std::string>& argv,
const LaunchOptions& options);
-// TODO(evan): deprecated; change callers to use LaunchProcess, remove.
-inline bool LaunchApp(const std::vector<std::string>& argv,
- const file_handle_mapping_vector& fds_to_remap,
- bool wait, ProcessHandle* process_handle) {
- LaunchOptions options;
- options.fds_to_remap = &fds_to_remap;
- options.wait = wait;
- options.process_handle = process_handle;
- return LaunchProcess(argv, options);
-}
-
// AlterEnvironment returns a modified environment vector, constructed from the
// given environment and the list of changes given in |changes|. Each key in
// the environment is matched against the first element of the pairs. In the
« no previous file with comments | « no previous file | base/test/multiprocess_test.h » ('j') | chrome/browser/chromeos/input_method/input_method_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698