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

Side by Side Diff: components/sync/syncable/directory_backing_store.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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 unified diff | Download patch
« no previous file with comments | « components/sync/syncable/directory.cc ('k') | components/sync/syncable/directory_unittest.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "components/sync/syncable/directory_backing_store.h" 5 #include "components/sync/syncable/directory_backing_store.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h>
9 8
10 #include <limits> 9 #include <limits>
11 #include <unordered_set> 10 #include <unordered_set>
12 11
13 #include "base/base64.h" 12 #include "base/base64.h"
14 #include "base/location.h" 13 #include "base/location.h"
15 #include "base/logging.h" 14 #include "base/logging.h"
16 #include "base/macros.h"
17 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
18 #include "base/rand_util.h" 16 #include "base/rand_util.h"
19 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
20 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
21 #include "base/threading/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
22 #include "base/time/time.h" 20 #include "base/time/time.h"
23 #include "base/trace_event/trace_event.h" 21 #include "base/trace_event/trace_event.h"
24 #include "build/build_config.h" 22 #include "build/build_config.h"
25 #include "components/sync/base/node_ordinal.h" 23 #include "components/sync/base/node_ordinal.h"
26 #include "components/sync/base/time.h" 24 #include "components/sync/base/time.h"
27 #include "components/sync/protocol/bookmark_specifics.pb.h" 25 #include "components/sync/protocol/bookmark_specifics.pb.h"
28 #include "components/sync/protocol/sync.pb.h" 26 #include "components/sync/protocol/sync.pb.h"
29 #include "components/sync/syncable/syncable_columns.h" 27 #include "components/sync/syncable/syncable_columns.h"
30 #include "components/sync/syncable/syncable_id.h" 28 #include "components/sync/syncable/syncable_id.h"
31 #include "components/sync/syncable/syncable_util.h" 29 #include "components/sync/syncable/syncable_util.h"
32 #include "sql/connection.h"
33 #include "sql/error_delegate_util.h" 30 #include "sql/error_delegate_util.h"
34 #include "sql/statement.h"
35 #include "sql/transaction.h" 31 #include "sql/transaction.h"
36 32
37 using std::string; 33 using std::string;
38 34
39 namespace syncer { 35 namespace syncer {
40 namespace syncable { 36 namespace syncable {
41 37
42 // Increment this version whenever updating DB tables. 38 // Increment this version whenever updating DB tables.
43 const int32_t kCurrentDBVersion = 90; 39 const int32_t kCurrentDBVersion = 90;
44 40
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1765 DCHECK(CalledOnValidThread()); 1761 DCHECK(CalledOnValidThread());
1766 DCHECK(!catastrophic_error_handler.is_null()); 1762 DCHECK(!catastrophic_error_handler.is_null());
1767 catastrophic_error_handler_ = catastrophic_error_handler; 1763 catastrophic_error_handler_ = catastrophic_error_handler;
1768 sql::Connection::ErrorCallback error_callback = 1764 sql::Connection::ErrorCallback error_callback =
1769 base::Bind(&OnSqliteError, catastrophic_error_handler_); 1765 base::Bind(&OnSqliteError, catastrophic_error_handler_);
1770 db_->set_error_callback(error_callback); 1766 db_->set_error_callback(error_callback);
1771 } 1767 }
1772 1768
1773 } // namespace syncable 1769 } // namespace syncable
1774 } // namespace syncer 1770 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/directory.cc ('k') | components/sync/syncable/directory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698