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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10875027: Restart running apps when chrome restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4. 56 // need to migrate the user from kRestoreOnStartup=0 to kRestoreOnStartup=4.
57 // We only need to do this check once, on upgrade from m18 or lower to m19 or 57 // We only need to do this check once, on upgrade from m18 or lower to m19 or
58 // higher. 58 // higher.
59 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; 59 const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated";
60 60
61 // Disables screenshot accelerators and extension APIs. 61 // Disables screenshot accelerators and extension APIs.
62 // This setting resides both in profile prefs and local state. Accelerator 62 // This setting resides both in profile prefs and local state. Accelerator
63 // handling code reads local state, while extension APIs use profile pref. 63 // handling code reads local state, while extension APIs use profile pref.
64 const char kDisableScreenshots[] = "disable_screenshots"; 64 const char kDisableScreenshots[] = "disable_screenshots";
65 65
66 // Apps that were running when the browser was last shut down.
67 const char kAppsRunningAtShutdown[] = "apps_running_at_shutdown";
68
66 // The application locale. 69 // The application locale.
67 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 70 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
68 // and user's profile. Global property determines locale of login screen, 71 // and user's profile. Global property determines locale of login screen,
69 // while user's profile determines his personal locale preference. 72 // while user's profile determines his personal locale preference.
70 const char kApplicationLocale[] = "intl.app_locale"; 73 const char kApplicationLocale[] = "intl.app_locale";
71 #if defined(OS_CHROMEOS) 74 #if defined(OS_CHROMEOS)
72 // Locale preference of device' owner. ChromeOS device appears in this locale 75 // Locale preference of device' owner. ChromeOS device appears in this locale
73 // after startup/wakeup/signout. 76 // after startup/wakeup/signout.
74 const char kOwnerLocale[] = "intl.owner_locale"; 77 const char kOwnerLocale[] = "intl.owner_locale";
75 // Locale accepted by user. Non-syncable. 78 // Locale accepted by user. Non-syncable.
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1989 1992
1990 // Counts how many more times the 'profile on a network share' warning should be 1993 // Counts how many more times the 'profile on a network share' warning should be
1991 // shown to the user before the next silence period. 1994 // shown to the user before the next silence period.
1992 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1995 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1993 // Tracks the time of the last shown warning. Used to reset 1996 // Tracks the time of the last shown warning. Used to reset
1994 // |network_profile.warnings_left| after a silence period. 1997 // |network_profile.warnings_left| after a silence period.
1995 const char kNetworkProfileLastWarningTime[] = 1998 const char kNetworkProfileLastWarningTime[] =
1996 "network_profile.last_warning_time"; 1999 "network_profile.last_warning_time";
1997 2000
1998 } // namespace prefs 2001 } // namespace prefs
OLDNEW
« chrome/browser/ui/startup/startup_browser_creator_impl.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698