| OLD | NEW |
| 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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 // Number of processes that were shut down using the slow path. | 1379 // Number of processes that were shut down using the slow path. |
| 1380 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; | 1380 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; |
| 1381 | 1381 |
| 1382 // Whether to restart the current Chrome session automatically as the last thing | 1382 // Whether to restart the current Chrome session automatically as the last thing |
| 1383 // before shutting everything down. | 1383 // before shutting everything down. |
| 1384 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; | 1384 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; |
| 1385 | 1385 |
| 1386 // Set before autorestarting Chrome, cleared on clean exit. | 1386 // Set before autorestarting Chrome, cleared on clean exit. |
| 1387 const char kWasRestarted[] = "was.restarted"; | 1387 const char kWasRestarted[] = "was.restarted"; |
| 1388 | 1388 |
| 1389 #if defined(OS_WIN) |
| 1390 // On Windows 8 chrome can restart in desktop or in metro mode. |
| 1391 const char kRestartSwitchMode[] = "restart.switch_mode"; |
| 1392 #endif |
| 1393 |
| 1389 // Number of bookmarks/folders on the bookmark bar/other bookmark folder. | 1394 // Number of bookmarks/folders on the bookmark bar/other bookmark folder. |
| 1390 const char kNumBookmarksOnBookmarkBar[] = | 1395 const char kNumBookmarksOnBookmarkBar[] = |
| 1391 "user_experience_metrics.num_bookmarks_on_bookmark_bar"; | 1396 "user_experience_metrics.num_bookmarks_on_bookmark_bar"; |
| 1392 const char kNumFoldersOnBookmarkBar[] = | 1397 const char kNumFoldersOnBookmarkBar[] = |
| 1393 "user_experience_metrics.num_folders_on_bookmark_bar"; | 1398 "user_experience_metrics.num_folders_on_bookmark_bar"; |
| 1394 const char kNumBookmarksInOtherBookmarkFolder[] = | 1399 const char kNumBookmarksInOtherBookmarkFolder[] = |
| 1395 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; | 1400 "user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; |
| 1396 const char kNumFoldersInOtherBookmarkFolder[] = | 1401 const char kNumFoldersInOtherBookmarkFolder[] = |
| 1397 "user_experience_metrics.num_folders_in_other_bookmark_folder"; | 1402 "user_experience_metrics.num_folders_in_other_bookmark_folder"; |
| 1398 | 1403 |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2010 | 2015 |
| 2011 // Counts how many more times the 'profile on a network share' warning should be | 2016 // Counts how many more times the 'profile on a network share' warning should be |
| 2012 // shown to the user before the next silence period. | 2017 // shown to the user before the next silence period. |
| 2013 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2018 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 2014 // Tracks the time of the last shown warning. Used to reset | 2019 // Tracks the time of the last shown warning. Used to reset |
| 2015 // |network_profile.warnings_left| after a silence period. | 2020 // |network_profile.warnings_left| after a silence period. |
| 2016 const char kNetworkProfileLastWarningTime[] = | 2021 const char kNetworkProfileLastWarningTime[] = |
| 2017 "network_profile.last_warning_time"; | 2022 "network_profile.last_warning_time"; |
| 2018 | 2023 |
| 2019 } // namespace prefs | 2024 } // namespace prefs |
| OLD | NEW |