| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_DELEGATE_H_ | |
| 6 #define SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_DELEGATE_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 class CommandLine; | |
| 10 } | |
| 11 | |
| 12 namespace service_manager { | |
| 13 class Identity; | |
| 14 | |
| 15 class NativeRunnerDelegate { | |
| 16 public: | |
| 17 // Called to adjust the commandline for launching the specified app. | |
| 18 // WARNING: this is called on a background thread. | |
| 19 virtual void AdjustCommandLineArgumentsForTarget( | |
| 20 const Identity& target, | |
| 21 base::CommandLine* command_line) = 0; | |
| 22 | |
| 23 protected: | |
| 24 virtual ~NativeRunnerDelegate() {} | |
| 25 }; | |
| 26 | |
| 27 } // namespace service_manager | |
| 28 | |
| 29 #endif // SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_DELEGATE_H_ | |
| OLD | NEW |