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

Side by Side Diff: chrome/browser/chromeos/login/mock_login_utils.h

Issue 11506006: [cros] RLZ tracking can be turned off via a flag file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-apply ps#16, it got lost Created 8 years 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_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 MOCK_METHOD1(RestoreAuthenticationSession, void(Profile*)); 42 MOCK_METHOD1(RestoreAuthenticationSession, void(Profile*));
43 MOCK_METHOD1(StartTokenServices, void(Profile*)); 43 MOCK_METHOD1(StartTokenServices, void(Profile*));
44 MOCK_METHOD2(StartSignedInServices, 44 MOCK_METHOD2(StartSignedInServices,
45 void(Profile*, const GaiaAuthConsumer::ClientLoginResult&)); 45 void(Profile*, const GaiaAuthConsumer::ClientLoginResult&));
46 MOCK_METHOD2(TransferDefaultCookiesAndServerBoundCerts, 46 MOCK_METHOD2(TransferDefaultCookiesAndServerBoundCerts,
47 void(Profile*, Profile*)); 47 void(Profile*, Profile*));
48 MOCK_METHOD2(TransferDefaultAuthCache, void(Profile*, Profile*)); 48 MOCK_METHOD2(TransferDefaultAuthCache, void(Profile*, Profile*));
49 MOCK_METHOD0(StopBackgroundFetchers, void(void)); 49 MOCK_METHOD0(StopBackgroundFetchers, void(void));
50 MOCK_METHOD3(GetOffTheRecordCommandLine, 50 MOCK_METHOD3(GetOffTheRecordCommandLine,
51 std::string(const GURL&, const CommandLine&, CommandLine*)); 51 std::string(const GURL&, const CommandLine&, CommandLine*));
52 MOCK_METHOD1(InitRlzDelayed, void(Profile*));
Peter Kasting 2012/12/17 20:14:03 Nit: If possible please declare mock methods in th
Ivan Korotkov 2012/12/20 09:20:42 Done.
52 }; 53 };
53 54
54 } // namespace chromeos 55 } // namespace chromeos
55 56
56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_ 57 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698