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

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

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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
Index: chrome/browser/chromeos/login/auth_prewarmer.h
diff --git a/chrome/browser/chromeos/login/auth_prewarmer.h b/chrome/browser/chromeos/login/auth_prewarmer.h
deleted file mode 100644
index 16c7269af640fb6e247ad3696f83012a39accdb8..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/auth_prewarmer.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 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_AUTH_PREWARMER_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PREWARMER_H_
-
-#include "base/basictypes.h"
-#include "base/callback.h"
-#include "chromeos/network/network_state_handler_observer.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-
-namespace net {
-class URLRequestContextGetter;
-} // namespace net
-
-namespace chromeos {
-
-class NetworkState;
-
-// Class for prewarming authentication network connection.
-class AuthPrewarmer : public NetworkStateHandlerObserver,
- public content::NotificationObserver {
- public:
- AuthPrewarmer();
- virtual ~AuthPrewarmer();
-
- void PrewarmAuthentication(const base::Closure& completion_callback);
-
- private:
- // chromeos::NetworkStateHandlerObserver overrides.
- virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE;
-
- // content::NotificationObserver overrides.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
- bool IsNetworkConnected() const;
- net::URLRequestContextGetter* GetRequestContext() const;
- void DoPrewarm();
-
- content::NotificationRegistrar registrar_;
- base::Closure completion_callback_;
- bool doing_prewarm_;
-
- DISALLOW_COPY_AND_ASSIGN(AuthPrewarmer);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PREWARMER_H_
« no previous file with comments | « chrome/browser/chromeos/login/auth_attempt_state_resolver.cc ('k') | chrome/browser/chromeos/login/auth_prewarmer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698