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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: This patch has compiled from a clean build Created 9 years, 4 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
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 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/file_path.h" 15 #include "base/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/message_loop.h" 18 #include "base/message_loop.h"
19 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
20 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
21 #include "base/timer.h" 21 #include "base/timer.h"
22 #include "chrome/browser/sync/engine/configure_reason.h" 22 #include "chrome/browser/sync/engine/configure_reason.h"
23 #include "chrome/browser/sync/engine/model_safe_worker.h" 23 #include "chrome/browser/sync/engine/model_safe_worker.h"
24 #include "chrome/browser/sync/glue/ui_model_worker.h" 24 #include "chrome/browser/sync/glue/ui_model_worker.h"
25 #include "chrome/browser/sync/internal_api/sync_manager.h"
25 #include "chrome/browser/sync/js/js_backend.h" 26 #include "chrome/browser/sync/js/js_backend.h"
26 #include "chrome/browser/sync/notifier/sync_notifier_factory.h" 27 #include "chrome/browser/sync/notifier/sync_notifier_factory.h"
27 #include "chrome/browser/sync/syncable/model_type.h" 28 #include "chrome/browser/sync/syncable/model_type.h"
28 #include "chrome/browser/sync/weak_handle.h" 29 #include "chrome/browser/sync/weak_handle.h"
29 #include "chrome/common/net/gaia/google_service_auth_error.h" 30 #include "chrome/common/net/gaia/google_service_auth_error.h"
30 #include "googleurl/src/gurl.h" 31 #include "googleurl/src/gurl.h"
31 #include "net/url_request/url_request_context_getter.h" 32 #include "net/url_request/url_request_context_getter.h"
32 33
33 class CancelableTask; 34 class CancelableTask;
34 class Profile; 35 class Profile;
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 611
611 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. 612 // UI-thread cache of the last SyncSessionSnapshot received from syncapi.
612 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_; 613 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_;
613 614
614 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 615 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
615 }; 616 };
616 617
617 } // namespace browser_sync 618 } // namespace browser_sync
618 619
619 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 620 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698