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

Unified Diff: chrome/browser/chromeos/login/mock_login_utils.h

Issue 745613002: [cros] Cleanup: remove LoginUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get rid of FakeChromeUserManager usage in ExistingUserController* tests Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/mock_login_utils.h
diff --git a/chrome/browser/chromeos/login/mock_login_utils.h b/chrome/browser/chromeos/login/mock_login_utils.h
deleted file mode 100644
index 5c6dd88fc1f8a2542a3e7ed570f870a4a95f6053..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/mock_login_utils.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
-
-#include <string>
-
-#include "base/command_line.h"
-#include "base/memory/ref_counted.h"
-#include "chrome/browser/chromeos/login/fake_login_utils.h"
-#include "chrome/browser/chromeos/login/login_utils.h"
-#include "chrome/browser/chromeos/login/ui/login_display_host.h"
-#include "chromeos/login/auth/authenticator.h"
-#include "google_apis/gaia/gaia_auth_consumer.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "url/gurl.h"
-
-class Profile;
-
-namespace chromeos {
-
-class AuthStatusConsumer;
-class UserContext;
-
-class MockLoginUtils : public LoginUtils {
- public:
- MockLoginUtils();
- virtual ~MockLoginUtils();
-
- MOCK_METHOD2(DoBrowserLaunch, void(Profile*, LoginDisplayHost*));
- MOCK_METHOD4(PrepareProfile,
- void(const UserContext&,
- bool, bool, LoginUtils::Delegate*));
- MOCK_METHOD1(DelegateDeleted, void(LoginUtils::Delegate*));
- MOCK_METHOD1(CreateAuthenticator,
- scoped_refptr<Authenticator>(AuthStatusConsumer*));
-
- void DelegateToFake();
- FakeLoginUtils* GetFakeLoginUtils();
-
- private:
- scoped_ptr<FakeLoginUtils> fake_login_utils_;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_UTILS_H_
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698