Index: chrome/browser/search/suggestions/suggestions_utils.cc |
diff --git a/chrome/browser/search/suggestions/suggestions_utils.cc b/chrome/browser/search/suggestions/suggestions_utils.cc |
deleted file mode 100644 |
index b012e39d08a564912d7c4fc8a27b2e95e3d6c9b8..0000000000000000000000000000000000000000 |
--- a/chrome/browser/search/suggestions/suggestions_utils.cc |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-// Copyright 2016 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. |
- |
-#include "chrome/browser/search/suggestions/suggestions_utils.h" |
- |
-#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/sync/profile_sync_service_factory.h" |
-#include "components/browser_sync/browser/profile_sync_service.h" |
- |
-namespace suggestions { |
- |
-SyncState GetSyncState(Profile* profile) { |
- ProfileSyncService* sync = |
- ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
- if (!sync) |
- return SyncState::SYNC_OR_HISTORY_SYNC_DISABLED; |
- return GetSyncState( |
- sync->CanSyncStart(), sync->IsSyncActive() && sync->ConfigurationDone(), |
- sync->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES)); |
-} |
- |
-} // namespace suggestions |