OLD | NEW |
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_FAKE_SIGNIN_MANAGER_H_ |
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ | 6 #define CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/signin/signin_manager.h" | 11 #include "chrome/browser/signin/signin_manager.h" |
12 | 12 |
13 class Profile; | 13 class Profile; |
14 class ProfileKeyedService; | 14 class ProfileKeyedService; |
15 | 15 |
16 // A signin manager that bypasses actual authentication routines with servers | 16 // A signin manager that bypasses actual authentication routines with servers |
(...skipping 22 matching lines...) Expand all Loading... |
39 auth_in_progress_ = in_progress; | 39 auth_in_progress_ = in_progress; |
40 } | 40 } |
41 | 41 |
42 // Helper function to be used with ProfileKeyedService::SetTestingFactory(). | 42 // Helper function to be used with ProfileKeyedService::SetTestingFactory(). |
43 static ProfileKeyedService* Build(Profile* profile); | 43 static ProfileKeyedService* Build(Profile* profile); |
44 | 44 |
45 private: | 45 private: |
46 bool auth_in_progress_; | 46 bool auth_in_progress_; |
47 }; | 47 }; |
48 | 48 |
49 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ | 49 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ |
OLD | NEW |