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

Unified Diff: components/sync/syncable/syncable-inl.h

Issue 2292393004: Remove stl_util from sync. (Closed)
Patch Set: rebase Created 4 years, 3 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: components/sync/syncable/syncable-inl.h
diff --git a/components/sync/syncable/syncable-inl.h b/components/sync/syncable/syncable-inl.h
deleted file mode 100644
index 58396c64730bee6098176c9eedb070e986405a99..0000000000000000000000000000000000000000
--- a/components/sync/syncable/syncable-inl.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012 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_SYNCABLE_SYNCABLE_INL_H_
-#define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_INL_H_
-
-#include "components/sync/syncable/entry_kernel.h"
-
-namespace syncer {
-namespace syncable {
-
-template <typename FieldType, FieldType field_index>
-class LessField {
- public:
- inline bool operator()(const syncable::EntryKernel* a,
- const syncable::EntryKernel* b) const {
- return a->ref(field_index) < b->ref(field_index);
- }
-};
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_INL_H_

Powered by Google App Engine
This is Rietveld 408576698