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

Side by Side Diff: chrome/browser/chrome_to_mobile_service_factory.cc

Issue 10808068: Store ChromeToMobile device list and timestamp prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetMobiles ownership/lifetime comment. Created 8 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
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/chrome_to_mobile_service_factory.h" 5 #include "chrome/browser/chrome_to_mobile_service_factory.h"
6 6
7 #include "chrome/browser/chrome_to_mobile_service.h" 7 #include "chrome/browser/chrome_to_mobile_service.h"
8 #include "chrome/browser/content_settings/cookie_settings.h" 8 #include "chrome/browser/content_settings/cookie_settings.h"
9 #include "chrome/browser/profiles/profile_dependency_manager.h" 9 #include "chrome/browser/profiles/profile_dependency_manager.h"
10 #include "chrome/browser/signin/token_service_factory.h" 10 #include "chrome/browser/signin/token_service_factory.h"
(...skipping 17 matching lines...) Expand all
28 return NULL; 28 return NULL;
29 29
30 return new ChromeToMobileService(profile); 30 return new ChromeToMobileService(profile);
31 } 31 }
32 32
33 ChromeToMobileServiceFactory::ChromeToMobileServiceFactory() 33 ChromeToMobileServiceFactory::ChromeToMobileServiceFactory()
34 : ProfileKeyedServiceFactory("ChromeToMobileService", 34 : ProfileKeyedServiceFactory("ChromeToMobileService",
35 ProfileDependencyManager::GetInstance()) { 35 ProfileDependencyManager::GetInstance()) {
36 DependsOn(TokenServiceFactory::GetInstance()); 36 DependsOn(TokenServiceFactory::GetInstance());
37 DependsOn(CookieSettings::Factory::GetInstance()); 37 DependsOn(CookieSettings::Factory::GetInstance());
38 // TODO(msw): Uncomment this once it exists.
39 // DependsOn(PrefServiceFactory::GetInstance());
38 } 40 }
39 41
40 ChromeToMobileServiceFactory::~ChromeToMobileServiceFactory() {} 42 ChromeToMobileServiceFactory::~ChromeToMobileServiceFactory() {}
OLDNEW
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698