OLD | NEW |
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 // This file defines the "sync API", an interface to the syncer | 5 // This file defines the "sync API", an interface to the syncer |
6 // backend that exposes (1) the core functionality of maintaining a consistent | 6 // backend that exposes (1) the core functionality of maintaining a consistent |
7 // local snapshot of a hierarchical object set; (2) a means to transactionally | 7 // local snapshot of a hierarchical object set; (2) a means to transactionally |
8 // access and modify those objects; (3) a means to control client/server | 8 // access and modify those objects; (3) a means to control client/server |
9 // synchronization tasks, namely: pushing local object modifications to a | 9 // synchronization tasks, namely: pushing local object modifications to a |
10 // server, pulling nonlocal object modifications from a server to this client, | 10 // server, pulling nonlocal object modifications from a server to this client, |
(...skipping 25 matching lines...) Expand all Loading... |
36 // children of a node can be enumerated in the order of their position. | 36 // children of a node can be enumerated in the order of their position. |
37 | 37 |
38 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ | 38 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ |
39 #define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ | 39 #define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ |
40 #pragma once | 40 #pragma once |
41 | 41 |
42 #include <string> | 42 #include <string> |
43 #include <vector> | 43 #include <vector> |
44 | 44 |
45 #include "base/basictypes.h" | 45 #include "base/basictypes.h" |
46 #include "base/callback.h" | 46 #include "base/callback_old.h" |
47 #include "base/gtest_prod_util.h" | 47 #include "base/gtest_prod_util.h" |
48 #include "base/memory/scoped_ptr.h" | 48 #include "base/memory/scoped_ptr.h" |
49 #include "base/tracked.h" | 49 #include "base/tracked.h" |
50 #include "build/build_config.h" | 50 #include "build/build_config.h" |
51 #include "chrome/browser/sync/engine/configure_reason.h" | 51 #include "chrome/browser/sync/engine/configure_reason.h" |
52 #include "chrome/browser/sync/protocol/password_specifics.pb.h" | 52 #include "chrome/browser/sync/protocol/password_specifics.pb.h" |
53 #include "chrome/browser/sync/syncable/autofill_migration.h" | 53 #include "chrome/browser/sync/syncable/autofill_migration.h" |
54 #include "chrome/browser/sync/syncable/model_type.h" | 54 #include "chrome/browser/sync/syncable/model_type.h" |
55 #include "chrome/browser/sync/util/cryptographer.h" | 55 #include "chrome/browser/sync/util/cryptographer.h" |
56 #include "chrome/common/net/gaia/google_service_auth_error.h" | 56 #include "chrome/common/net/gaia/google_service_auth_error.h" |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 private: | 1031 private: |
1032 // An opaque pointer to the nested private class. | 1032 // An opaque pointer to the nested private class. |
1033 SyncInternal* data_; | 1033 SyncInternal* data_; |
1034 | 1034 |
1035 DISALLOW_COPY_AND_ASSIGN(SyncManager); | 1035 DISALLOW_COPY_AND_ASSIGN(SyncManager); |
1036 }; | 1036 }; |
1037 | 1037 |
1038 } // namespace sync_api | 1038 } // namespace sync_api |
1039 | 1039 |
1040 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ | 1040 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ |
OLD | NEW |