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

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

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: DownloadPrefs::GetNextId() Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "default_search_provider.prepopulate_id"; 214 "default_search_provider.prepopulate_id";
215 215
216 // The dictionary key used when the default search providers are given 216 // The dictionary key used when the default search providers are given
217 // in the preferences file. Normally they are copied from the master 217 // in the preferences file. Normally they are copied from the master
218 // preferences file. 218 // preferences file.
219 const char kSearchProviderOverrides[] = "search_provider_overrides"; 219 const char kSearchProviderOverrides[] = "search_provider_overrides";
220 // The format version for the dictionary above. 220 // The format version for the dictionary above.
221 const char kSearchProviderOverridesVersion[] = 221 const char kSearchProviderOverridesVersion[] =
222 "search_provider_overrides_version"; 222 "search_provider_overrides_version";
223 223
224 // A unique identifier for each DownloadItem that persists across sessions.
225 const char kNextDownloadId[] = "download.next_id";
226
224 // Boolean which specifies whether we should ask the user if we should download 227 // Boolean which specifies whether we should ask the user if we should download
225 // a file (true) or just download it automatically. 228 // a file (true) or just download it automatically.
226 const char kPromptForDownload[] = "download.prompt_for_download"; 229 const char kPromptForDownload[] = "download.prompt_for_download";
227 230
228 // A boolean pref set to true if we're using Link Doctor error pages. 231 // A boolean pref set to true if we're using Link Doctor error pages.
229 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; 232 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled";
230 233
231 // OBSOLETE: new pref now stored with user prefs instead of profile, as 234 // OBSOLETE: new pref now stored with user prefs instead of profile, as
232 // kDnsPrefetchingStartupList. 235 // kDnsPrefetchingStartupList.
233 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; 236 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList";
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 // Whether user-specified handlers for protocols and content types can be 1382 // Whether user-specified handlers for protocols and content types can be
1380 // specified. 1383 // specified.
1381 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1384 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1382 1385
1383 // Integers that specify the policy refresh rate for device- and user-policy in 1386 // Integers that specify the policy refresh rate for device- and user-policy in
1384 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1387 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1385 // by the cloud policy subsystem. 1388 // by the cloud policy subsystem.
1386 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1389 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1387 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1390 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1388 } // namespace prefs 1391 } // namespace prefs
OLDNEW
« chrome/browser/renderer_host/download_resource_handler.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