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

Side by Side Diff: chrome/browser/profile_resetter/triggered_profile_resetter_factory.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/profile_resetter/triggered_profile_resetter_factory.h" 5 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/profile_resetter/triggered_profile_resetter.h" 9 #include "chrome/browser/profile_resetter/triggered_profile_resetter.h"
9 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
11 #include "components/keyed_service/content/browser_context_dependency_manager.h" 12 #include "components/keyed_service/content/browser_context_dependency_manager.h"
12 #include "components/pref_registry/pref_registry_syncable.h" 13 #include "components/pref_registry/pref_registry_syncable.h"
13 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
14 15
15 // static 16 // static
16 TriggeredProfileResetter* TriggeredProfileResetterFactory::GetForBrowserContext( 17 TriggeredProfileResetter* TriggeredProfileResetterFactory::GetForBrowserContext(
17 content::BrowserContext* context) { 18 content::BrowserContext* context) {
(...skipping 27 matching lines...) Expand all
45 user_prefs::PrefRegistrySyncable* registry) { 46 user_prefs::PrefRegistrySyncable* registry) {
46 #if defined(OS_WIN) 47 #if defined(OS_WIN)
47 registry->RegisterInt64Pref(prefs::kLastProfileResetTimestamp, 0L); 48 registry->RegisterInt64Pref(prefs::kLastProfileResetTimestamp, 0L);
48 #endif 49 #endif
49 } 50 }
50 51
51 bool TriggeredProfileResetterFactory::ServiceIsCreatedWithBrowserContext() 52 bool TriggeredProfileResetterFactory::ServiceIsCreatedWithBrowserContext()
52 const { 53 const {
53 return true; 54 return true;
54 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698