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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2832263002: Clipboard Android - Store and Read Last Modified Time from Prefs (Closed)
Patch Set: final comments Created 3 years, 7 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
« no previous file with comments | « chrome/browser/chrome_browser_main_android.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/browser/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 370
371 #if BUILDFLAG(ENABLE_EXTENSIONS) 371 #if BUILDFLAG(ENABLE_EXTENSIONS)
372 EasyUnlockService::RegisterPrefs(registry); 372 EasyUnlockService::RegisterPrefs(registry);
373 #endif 373 #endif
374 374
375 #if BUILDFLAG(ENABLE_PLUGINS) 375 #if BUILDFLAG(ENABLE_PLUGINS)
376 PluginFinder::RegisterPrefs(registry); 376 PluginFinder::RegisterPrefs(registry);
377 PluginsResourceService::RegisterPrefs(registry); 377 PluginsResourceService::RegisterPrefs(registry);
378 #endif 378 #endif
379 379
380 #if defined(OS_ANDROID)
381 ::android::RegisterPrefs(registry);
382 #endif
383
380 #if !defined(OS_ANDROID) 384 #if !defined(OS_ANDROID)
381 task_manager::TaskManagerInterface::RegisterPrefs(registry); 385 task_manager::TaskManagerInterface::RegisterPrefs(registry);
382 #endif // !defined(OS_ANDROID) 386 #endif // !defined(OS_ANDROID)
383 387
384 #if BUILDFLAG(ENABLE_BACKGROUND) 388 #if BUILDFLAG(ENABLE_BACKGROUND)
385 BackgroundModeManager::RegisterPrefs(registry); 389 BackgroundModeManager::RegisterPrefs(registry);
386 #endif 390 #endif
387 391
388 #if !defined(OS_ANDROID) 392 #if !defined(OS_ANDROID)
389 RegisterBrowserPrefs(registry); 393 RegisterBrowserPrefs(registry);
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 } 813 }
810 814
811 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { 815 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() {
812 auto pref_stores = ExpectedPrefStores(); 816 auto pref_stores = ExpectedPrefStores();
813 pref_stores.erase(PrefValueStore::DEFAULT_STORE); 817 pref_stores.erase(PrefValueStore::DEFAULT_STORE);
814 pref_stores.erase(PrefValueStore::USER_STORE); 818 pref_stores.erase(PrefValueStore::USER_STORE);
815 return pref_stores; 819 return pref_stores;
816 } 820 }
817 821
818 } // namespace chrome 822 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_android.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698