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

Unified Diff: components/sync/base/sync_db_util.h

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 | « components/sync/BUILD.gn ('k') | components/sync/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/sync_db_util.h
diff --git a/components/sync/base/sync_db_util.h b/components/sync/base/sync_db_util.h
deleted file mode 100644
index e5e7342b8f43fa289cca6b9867cbedbabf713f32..0000000000000000000000000000000000000000
--- a/components/sync/base/sync_db_util.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 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 COMPONENTS_SYNC_BASE_SYNC_DB_UTIL_H_
-#define COMPONENTS_SYNC_BASE_SYNC_DB_UTIL_H_
-
-#include "base/callback.h"
-#include "base/memory/ref_counted.h"
-#include "base/time/time.h"
-
-namespace base {
-class FilePath;
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace syncer {
-
-// Check integrity of sync DB under |sync_dir|. Invoke |callback| with last
-// modified time if integrity check passes, with NULL time otherwise. This
-// is called on either sync thread or IO thread.
-void CheckSyncDbLastModifiedTime(
- const base::FilePath& sync_dir,
- scoped_refptr<base::SingleThreadTaskRunner> callback_runner,
- base::Callback<void(base::Time)> callback);
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_BASE_SYNC_DB_UTIL_H_
« no previous file with comments | « components/sync/BUILD.gn ('k') | components/sync/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698