Index: chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc |
diff --git a/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc b/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc |
index a755cebab05417ea7bb61dfa9c29f83b3dadf6dc..fd8b81ba26de7c2ae0382a979a6540ce49a9cd87 100644 |
--- a/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc |
+++ b/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc |
@@ -6,23 +6,15 @@ |
#include "base/path_service.h" |
#include "base/sys_info.h" |
-#include "base/task_runner_util.h" |
-#include "base/threading/thread_restrictions.h" |
-#include "chrome/browser/chromeos/login/startup_utils.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "chrome/common/chrome_paths.h" |
#include "chromeos/chromeos_paths.h" |
-#include "content/public/browser/browser_thread.h" |
#include "google_apis/google_api_keys.h" |
namespace { |
const char kUserDataDisplayProfilesDirectory[] = "display_profiles"; |
-int GetDaysSinceOobeOnBlockingPool() { |
- return chromeos::StartupUtils::GetTimeSinceOobeFlagFileCreation().InDays(); |
-} |
- |
} // namespace |
namespace quirks { |
@@ -60,11 +52,4 @@ bool QuirksManagerDelegateImpl::DevicePolicyEnabled() const { |
return quirks_enabled; |
} |
-void QuirksManagerDelegateImpl::GetDaysSinceOobe( |
- QuirksManager::DaysSinceOobeCallback callback) const { |
- base::PostTaskAndReplyWithResult( |
- content::BrowserThread::GetBlockingPool(), FROM_HERE, |
- base::Bind(&GetDaysSinceOobeOnBlockingPool), callback); |
-} |
- |
} // namespace quirks |