OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 // window to restore on startup. | 338 // window to restore on startup. |
339 const wchar_t kPageInfoWindowPlacement[] = L"page_info.window_placement"; | 339 const wchar_t kPageInfoWindowPlacement[] = L"page_info.window_placement"; |
340 | 340 |
341 // An integer specifying the total number of bytes to be used by the | 341 // An integer specifying the total number of bytes to be used by the |
342 // renderer's in-memory cache of objects. | 342 // renderer's in-memory cache of objects. |
343 const wchar_t kMemoryCacheSize[] = L"renderer.memory_cache.size"; | 343 const wchar_t kMemoryCacheSize[] = L"renderer.memory_cache.size"; |
344 | 344 |
345 // String which specifies where to download files to by default. | 345 // String which specifies where to download files to by default. |
346 const wchar_t kDownloadDefaultDirectory[] = L"download.default_directory"; | 346 const wchar_t kDownloadDefaultDirectory[] = L"download.default_directory"; |
347 | 347 |
| 348 // Boolean that records if the download directory was changed by an |
| 349 // upgrade a unsafe location to a safe location. |
| 350 const wchar_t kDownloadDirUpgraded[] = L"download.directory_upgrade"; |
| 351 |
348 // String which specifies where to save html files to by default. | 352 // String which specifies where to save html files to by default. |
349 const wchar_t kSaveFileDefaultDirectory[] = L"savefile.default_directory"; | 353 const wchar_t kSaveFileDefaultDirectory[] = L"savefile.default_directory"; |
350 | 354 |
351 // Extensions which should be opened upon completion. | 355 // Extensions which should be opened upon completion. |
352 const wchar_t kDownloadExtensionsToOpen[] = L"download.extensions_to_open"; | 356 const wchar_t kDownloadExtensionsToOpen[] = L"download.extensions_to_open"; |
353 | 357 |
354 // Integer which specifies the frequency in milliseconds for detecting whether | 358 // Integer which specifies the frequency in milliseconds for detecting whether |
355 // plugin windows are hung. | 359 // plugin windows are hung. |
356 const wchar_t kHungPluginDetectFrequency[] = | 360 const wchar_t kHungPluginDetectFrequency[] = |
357 L"browser.hung_plugin_detect_freq"; | 361 L"browser.hung_plugin_detect_freq"; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 const wchar_t kNumBookmarksInOtherBookmarkFolder[] = | 415 const wchar_t kNumBookmarksInOtherBookmarkFolder[] = |
412 L"user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; | 416 L"user_experience_metrics.num_bookmarks_in_other_bookmark_folder"; |
413 const wchar_t kNumFoldersInOtherBookmarkFolder[] = | 417 const wchar_t kNumFoldersInOtherBookmarkFolder[] = |
414 L"user_experience_metrics.num_folders_in_other_bookmark_folder"; | 418 L"user_experience_metrics.num_folders_in_other_bookmark_folder"; |
415 | 419 |
416 // Number of keywords. | 420 // Number of keywords. |
417 const wchar_t kNumKeywords[] = L"user_experience_metrics.num_keywords"; | 421 const wchar_t kNumKeywords[] = L"user_experience_metrics.num_keywords"; |
418 | 422 |
419 } // namespace prefs | 423 } // namespace prefs |
420 | 424 |
OLD | NEW |