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

Side by Side Diff: chrome/browser/signin/signin_manager_fake.h

Issue 9703038: Profiles: Really fix refcounted services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to save a file. >_< Created 8 years, 9 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) 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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 FakeSigninManager(); 21 FakeSigninManager();
22 virtual ~FakeSigninManager(); 22 virtual ~FakeSigninManager();
23 23
24 virtual void StartSignIn(const std::string& username, 24 virtual void StartSignIn(const std::string& username,
25 const std::string& password, 25 const std::string& password,
26 const std::string& login_token, 26 const std::string& login_token,
27 const std::string& login_captcha) OVERRIDE; 27 const std::string& login_captcha) OVERRIDE;
28 virtual void SignOut() OVERRIDE; 28 virtual void SignOut() OVERRIDE;
29 29
30 // Helper function to be used with ProfileKeyedService::SetTestingFactory(). 30 // Helper function to be used with ProfileKeyedService::SetTestingFactory().
31 static ProfileKeyedBase* Build(Profile* profile); 31 static ProfileKeyedService* Build(Profile* profile);
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ 34 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.cc ('k') | chrome/browser/signin/signin_manager_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698