blob: 8c22d5a52b6e8e546b5b861dfdf94f9d064f791e [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_SHELL_NATIVE_RUNNER_DELEGATE_H_
#define SERVICES_SHELL_NATIVE_RUNNER_DELEGATE_H_
namespace base {
class CommandLine;
}
namespace shell {
class Identity;
class NativeRunnerDelegate {
public:
// Called to adjust the commandline for launching the specified app.
// WARNING: this is called on a background thread.
virtual void AdjustCommandLineArgumentsForTarget(
const Identity& target,
base::CommandLine* command_line) = 0;
protected:
virtual ~NativeRunnerDelegate() {}
};
} // namespace shell
#endif // SERVICES_SHELL_NATIVE_RUNNER_DELEGATE_H_