OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 // String which specifies where to download files to by default. | 645 // String which specifies where to download files to by default. |
646 const wchar_t kDownloadDefaultDirectory[] = L"download.default_directory"; | 646 const wchar_t kDownloadDefaultDirectory[] = L"download.default_directory"; |
647 | 647 |
648 // Boolean that records if the download directory was changed by an | 648 // Boolean that records if the download directory was changed by an |
649 // upgrade a unsafe location to a safe location. | 649 // upgrade a unsafe location to a safe location. |
650 const wchar_t kDownloadDirUpgraded[] = L"download.directory_upgrade"; | 650 const wchar_t kDownloadDirUpgraded[] = L"download.directory_upgrade"; |
651 | 651 |
652 // String which specifies where to save html files to by default. | 652 // String which specifies where to save html files to by default. |
653 const wchar_t kSaveFileDefaultDirectory[] = L"savefile.default_directory"; | 653 const wchar_t kSaveFileDefaultDirectory[] = L"savefile.default_directory"; |
654 | 654 |
| 655 // String which specifies the last directory that was chosen for uploading |
| 656 // or opening a file. |
| 657 extern const wchar_t kSelectFileLastDirectory[] = L"selectfile.last_directory"; |
| 658 |
655 // Extensions which should be opened upon completion. | 659 // Extensions which should be opened upon completion. |
656 const wchar_t kDownloadExtensionsToOpen[] = L"download.extensions_to_open"; | 660 const wchar_t kDownloadExtensionsToOpen[] = L"download.extensions_to_open"; |
657 | 661 |
658 // Integer which specifies the frequency in milliseconds for detecting whether | 662 // Integer which specifies the frequency in milliseconds for detecting whether |
659 // plugin windows are hung. | 663 // plugin windows are hung. |
660 const wchar_t kHungPluginDetectFrequency[] = | 664 const wchar_t kHungPluginDetectFrequency[] = |
661 L"browser.hung_plugin_detect_freq"; | 665 L"browser.hung_plugin_detect_freq"; |
662 | 666 |
663 // Integer which specifies the timeout value to be used for SendMessageTimeout | 667 // Integer which specifies the timeout value to be used for SendMessageTimeout |
664 // to detect a hung plugin window. | 668 // to detect a hung plugin window. |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 const wchar_t kCloudPrintProxyId[] = L"cloud_print.proxy_id"; | 851 const wchar_t kCloudPrintProxyId[] = L"cloud_print.proxy_id"; |
848 // The GAIA auth token for Cloud Print | 852 // The GAIA auth token for Cloud Print |
849 const wchar_t kCloudPrintAuthToken[] = L"cloud_print.auth_token"; | 853 const wchar_t kCloudPrintAuthToken[] = L"cloud_print.auth_token"; |
850 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server | 854 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server |
851 // This should eventually go away because the above token should work for both. | 855 // This should eventually go away because the above token should work for both. |
852 const wchar_t kCloudPrintXMPPAuthToken[] = L"cloud_print.xmpp_auth_token"; | 856 const wchar_t kCloudPrintXMPPAuthToken[] = L"cloud_print.xmpp_auth_token"; |
853 // The email address of the account used to authenticate with the Cloud Print | 857 // The email address of the account used to authenticate with the Cloud Print |
854 // server. | 858 // server. |
855 extern const wchar_t kCloudPrintEmail[] = L"cloud_print.email"; | 859 extern const wchar_t kCloudPrintEmail[] = L"cloud_print.email"; |
856 } // namespace prefs | 860 } // namespace prefs |
OLD | NEW |