Index: chrome/browser/ui/ash/ash_util.h |
diff --git a/chrome/browser/ui/ash/ash_util.h b/chrome/browser/ui/ash/ash_util.h |
index 110482e91d0f84b492001a1eea459ff660df414a..8f9054424507d40e49441f52225a4b630f20d627 100644 |
--- a/chrome/browser/ui/ash/ash_util.h |
+++ b/chrome/browser/ui/ash/ash_util.h |
@@ -5,6 +5,15 @@ |
#ifndef CHROME_BROWSER_UI_ASH_ASH_UTIL_H_ |
#define CHROME_BROWSER_UI_ASH_ASH_UTIL_H_ |
+#include <memory> |
+ |
+#include "base/memory/ref_counted.h" |
+#include "base/single_thread_task_runner.h" |
+ |
+namespace service_manager { |
+class Service; |
+} |
+ |
namespace ui { |
class Accelerator; |
} // namespace ui |
@@ -15,6 +24,11 @@ namespace ash_util { |
// running in classic ash or mash. |
const char* GetAshServiceName(); |
+// Creates an in-process Service instance of which can host common ash |
+// interfaces. |
+std::unique_ptr<service_manager::Service> CreateEmbeddedAshService( |
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); |
+ |
} // namespace ash_util |
// TODO(jamescook): Change this namespace to ash_util. |