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

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

Issue 2846363002: Clipboard Android - Store and Read Last Modified Time from Prefs (Closed)
Patch Set: 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 376
377 #if BUILDFLAG(ENABLE_EXTENSIONS) 377 #if BUILDFLAG(ENABLE_EXTENSIONS)
378 EasyUnlockService::RegisterPrefs(registry); 378 EasyUnlockService::RegisterPrefs(registry);
379 #endif 379 #endif
380 380
381 #if BUILDFLAG(ENABLE_PLUGINS) 381 #if BUILDFLAG(ENABLE_PLUGINS)
382 PluginFinder::RegisterPrefs(registry); 382 PluginFinder::RegisterPrefs(registry);
383 PluginsResourceService::RegisterPrefs(registry); 383 PluginsResourceService::RegisterPrefs(registry);
384 #endif 384 #endif
385 385
386 #if defined(OS_ANDROID)
387 ::android::RegisterPrefs(registry);
388 #endif
389
386 #if !defined(OS_ANDROID) 390 #if !defined(OS_ANDROID)
387 task_manager::TaskManagerInterface::RegisterPrefs(registry); 391 task_manager::TaskManagerInterface::RegisterPrefs(registry);
388 #endif // !defined(OS_ANDROID) 392 #endif // !defined(OS_ANDROID)
389 393
390 #if BUILDFLAG(ENABLE_BACKGROUND) 394 #if BUILDFLAG(ENABLE_BACKGROUND)
391 BackgroundModeManager::RegisterPrefs(registry); 395 BackgroundModeManager::RegisterPrefs(registry);
392 #endif 396 #endif
393 397
394 #if !defined(OS_ANDROID) 398 #if !defined(OS_ANDROID)
395 RegisterBrowserPrefs(registry); 399 RegisterBrowserPrefs(registry);
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 } 829 }
826 830
827 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { 831 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() {
828 auto pref_stores = ExpectedPrefStores(); 832 auto pref_stores = ExpectedPrefStores();
829 pref_stores.erase(PrefValueStore::DEFAULT_STORE); 833 pref_stores.erase(PrefValueStore::DEFAULT_STORE);
830 pref_stores.erase(PrefValueStore::USER_STORE); 834 pref_stores.erase(PrefValueStore::USER_STORE);
831 return pref_stores; 835 return pref_stores;
832 } 836 }
833 837
834 } // namespace chrome 838 } // 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