OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ | 5 #ifndef COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ |
6 #define COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ | 6 #define COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "components/enhanced_bookmarks/bookmark_server_service.h" | 12 #include "components/enhanced_bookmarks/bookmark_server_service.h" |
13 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | |
14 #include "components/signin/core/browser/signin_manager_base.h" | 13 #include "components/signin/core/browser/signin_manager_base.h" |
15 #include "components/sync_driver/sync_service_observer.h" | 14 #include "components/sync_driver/sync_service_observer.h" |
16 #include "net/url_request/url_fetcher.h" | 15 #include "net/url_request/url_fetcher.h" |
17 | 16 |
18 class PrefService; | 17 class PrefService; |
19 | 18 |
20 namespace sync_driver { | 19 namespace sync_driver { |
21 class SyncService; | 20 class SyncService; |
22 } | 21 } |
23 | 22 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool sync_refresh_skipped_; | 132 bool sync_refresh_skipped_; |
134 // This holds the number of cluster refreshes needed. | 133 // This holds the number of cluster refreshes needed. |
135 int refreshes_needed_; | 134 int refreshes_needed_; |
136 | 135 |
137 DISALLOW_COPY_AND_ASSIGN(BookmarkServerClusterService); | 136 DISALLOW_COPY_AND_ASSIGN(BookmarkServerClusterService); |
138 }; | 137 }; |
139 | 138 |
140 } // namespace enhanced_bookmarks | 139 } // namespace enhanced_bookmarks |
141 | 140 |
142 #endif // COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ | 141 #endif // COMPONENTS_ENHANCED_BOOKMARKS_BOOKMARK_SERVER_CLUSTER_SERVICE_H_ |
OLD | NEW |