file_manager: Remove FileBrowser.OpeningFileType histogram
[chromium-blink-merge.git] / apps / app_launch_for_metro_restart_win.h
blobdfbd13ebf6d9b8360e82e548e19b454390b711d1
1 // Copyright 2013 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.
5 #ifndef APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H
6 #define APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H
8 #include <string>
10 #include "base/basictypes.h"
12 class Profile;
14 namespace apps {
16 // Handles launching apps on browser startup due to an attempt to launch an app
17 // in Windows 8 Metro mode.
18 void HandleAppLaunchForMetroRestart(Profile* profile);
20 // Set a local pref to launch an app before relaunching chrome in desktop mode.
21 void SetAppLaunchForMetroRestart(Profile* profile,
22 const std::string& extension_id);
24 } // namespace apps
26 #endif // APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H