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

Unified Diff: chrome/browser/managed_mode/managed_user_registration_utility.h

Issue 22409002: Remove managed user registration timeout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 4 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 | « no previous file | chrome/browser/managed_mode/managed_user_registration_utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/managed_mode/managed_user_registration_utility.h
diff --git a/chrome/browser/managed_mode/managed_user_registration_utility.h b/chrome/browser/managed_mode/managed_user_registration_utility.h
index b54b94bee94e9d9018001bc2385bfecf58162ed6..368cc1e4f13b058dcaa62a5e05beca75ace2ebe6 100644
--- a/chrome/browser/managed_mode/managed_user_registration_utility.h
+++ b/chrome/browser/managed_mode/managed_user_registration_utility.h
@@ -13,7 +13,6 @@
#include "base/memory/weak_ptr.h"
#include "base/prefs/pref_change_registrar.h"
#include "base/strings/string16.h"
-#include "base/timer/timer.h"
#include "chrome/browser/managed_mode/managed_user_sync_service.h"
#include "chrome/browser/managed_mode/managed_user_sync_service_observer.h"
#include "chrome/browser/managed_mode/managed_users.h"
@@ -68,8 +67,6 @@ class ManagedUserRegistrationUtility
const ManagedUserRegistrationInfo& info,
const RegistrationCallback& callback);
- void StartRegistrationTimer();
-
// ManagedUserSyncServiceObserver:
virtual void OnManagedUserAcknowledged(const std::string& managed_user_id)
OVERRIDE;
@@ -122,9 +119,6 @@ class ManagedUserRegistrationUtility
// A |BrowserContextKeyedService| owned by the custodian profile.
ManagedUserSyncService* managed_user_sync_service_;
- // Provides a timeout during profile creation.
- base::OneShotTimer<ManagedUserRegistrationUtility> registration_timer_;
-
std::string pending_managed_user_id_;
std::string pending_managed_user_token_;
bool pending_managed_user_acknowledged_;
« no previous file with comments | « no previous file | chrome/browser/managed_mode/managed_user_registration_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698