blob: 4b379b61065e6f994ce27d46bf0e2b08f85be526 [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.
#include "ash/components/quick_launch/quick_launch_application.h"
#include "services/service_manager/public/c/main.h"
#include "services/service_manager/public/cpp/service_runner.h"
MojoResult ServiceMain(MojoHandle service_request_handle) {
quick_launch::QuickLaunchApplication* app =
new quick_launch::QuickLaunchApplication;
app->set_running_standalone(true);
service_manager::ServiceRunner runner(app);
return runner.Run(service_request_handle);
}