Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: chrome/browser/apps/app_launch_for_metro_restart_win.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ 5 #ifndef CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_
6 #define CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ 6 #define CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 10
12 class PrefRegistrySimple; 11 class PrefRegistrySimple;
13 class Profile; 12 class Profile;
14 13
15 namespace app_metro_launch { 14 namespace app_metro_launch {
16 15
17 // Handles launching apps on browser startup due to an attempt to launch an app 16 // Handles launching apps on browser startup due to an attempt to launch an app
18 // in Windows 8 Metro mode. 17 // in Windows 8 Metro mode.
19 void HandleAppLaunchForMetroRestart(Profile* profile); 18 void HandleAppLaunchForMetroRestart(Profile* profile);
20 19
21 // Set a local pref to launch an app before relaunching chrome in desktop mode. 20 // Set a local pref to launch an app before relaunching chrome in desktop mode.
22 void SetAppLaunchForMetroRestart(Profile* profile, 21 void SetAppLaunchForMetroRestart(Profile* profile,
23 const std::string& extension_id); 22 const std::string& extension_id);
24 23
25 // Register preferences to do with launching apps in Metro. 24 // Register preferences to do with launching apps in Metro.
26 void RegisterPrefs(PrefRegistrySimple* registry); 25 void RegisterPrefs(PrefRegistrySimple* registry);
27 26
28 } // namespace app_metro_launch 27 } // namespace app_metro_launch
29 28
30 #endif // CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ 29 #endif // CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/app_browsertest_util.h ('k') | chrome/browser/apps/app_shim/app_shim_handler_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698