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

Side by Side Diff: chrome/browser/sync/syncable/syncable.cc

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/syncable/syncable.h ('k') | chrome/browser/sync/syncable/syncable_mock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/syncable/syncable.h" 5 #include "chrome/browser/sync/syncable/syncable.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 #if defined(OS_POSIX) 10 #if defined(OS_POSIX)
(...skipping 12 matching lines...) Expand all
23 #include <functional> 23 #include <functional>
24 #include <iomanip> 24 #include <iomanip>
25 #include <iterator> 25 #include <iterator>
26 #include <limits> 26 #include <limits>
27 #include <set> 27 #include <set>
28 #include <string> 28 #include <string>
29 29
30 #include "base/compiler_specific.h" 30 #include "base/compiler_specific.h"
31 #include "base/file_util.h" 31 #include "base/file_util.h"
32 #include "base/hash_tables.h" 32 #include "base/hash_tables.h"
33 #include "base/location.h"
33 #include "base/logging.h" 34 #include "base/logging.h"
34 #include "base/memory/scoped_ptr.h" 35 #include "base/memory/scoped_ptr.h"
35 #include "base/perftimer.h" 36 #include "base/perftimer.h"
36 #include "base/stl_util.h" 37 #include "base/stl_util.h"
37 #include "base/string_number_conversions.h" 38 #include "base/string_number_conversions.h"
38 #include "base/string_util.h" 39 #include "base/string_util.h"
39 #include "base/time.h" 40 #include "base/time.h"
40 #include "base/tracked.h"
41 #include "base/utf_string_conversions.h" 41 #include "base/utf_string_conversions.h"
42 #include "base/values.h" 42 #include "base/values.h"
43 #include "chrome/browser/sync/protocol/proto_value_conversions.h" 43 #include "chrome/browser/sync/protocol/proto_value_conversions.h"
44 #include "chrome/browser/sync/protocol/service_constants.h" 44 #include "chrome/browser/sync/protocol/service_constants.h"
45 #include "chrome/browser/sync/syncable/directory_backing_store.h" 45 #include "chrome/browser/sync/syncable/directory_backing_store.h"
46 #include "chrome/browser/sync/syncable/directory_change_delegate.h" 46 #include "chrome/browser/sync/syncable/directory_change_delegate.h"
47 #include "chrome/browser/sync/syncable/directory_manager.h" 47 #include "chrome/browser/sync/syncable/directory_manager.h"
48 #include "chrome/browser/sync/syncable/model_type.h" 48 #include "chrome/browser/sync/syncable/model_type.h"
49 #include "chrome/browser/sync/syncable/syncable_changes_version.h" 49 #include "chrome/browser/sync/syncable/syncable_changes_version.h"
50 #include "chrome/browser/sync/syncable/syncable_columns.h" 50 #include "chrome/browser/sync/syncable/syncable_columns.h"
(...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 CHECK(result); 1948 CHECK(result);
1949 for (iterator i = GetParentChildIndexLowerBound(lock, parent_id), 1949 for (iterator i = GetParentChildIndexLowerBound(lock, parent_id),
1950 end = GetParentChildIndexUpperBound(lock, parent_id); 1950 end = GetParentChildIndexUpperBound(lock, parent_id);
1951 i != end; ++i) { 1951 i != end; ++i) {
1952 DCHECK_EQ(parent_id, (*i)->ref(PARENT_ID)); 1952 DCHECK_EQ(parent_id, (*i)->ref(PARENT_ID));
1953 result->push_back((*i)->ref(META_HANDLE)); 1953 result->push_back((*i)->ref(META_HANDLE));
1954 } 1954 }
1955 } 1955 }
1956 1956
1957 } // namespace syncable 1957 } // namespace syncable
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/syncable.h ('k') | chrome/browser/sync/syncable/syncable_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698