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

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

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/sync/glue/sync_backend_host.h" 7 #include "chrome/browser/sync/glue/sync_backend_host.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 23 matching lines...) Expand all
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/chrome_version_info.h" 35 #include "chrome/common/chrome_version_info.h"
36 #include "chrome/common/net/gaia/gaia_constants.h" 36 #include "chrome/common/net/gaia/gaia_constants.h"
37 #include "content/public/browser/browser_thread.h" 37 #include "content/public/browser/browser_thread.h"
38 #include "content/public/browser/notification_service.h" 38 #include "content/public/browser/notification_service.h"
39 #include "content/public/common/content_client.h" 39 #include "content/public/common/content_client.h"
40 #include "jingle/notifier/base/notification_method.h" 40 #include "jingle/notifier/base/notification_method.h"
41 #include "jingle/notifier/base/notifier_options.h" 41 #include "jingle/notifier/base/notifier_options.h"
42 #include "net/base/host_port_pair.h" 42 #include "net/base/host_port_pair.h"
43 #include "net/url_request/url_request_context_getter.h" 43 #include "net/url_request/url_request_context_getter.h"
44 #include "sync/internal_api/base_transaction.h" 44 #include "sync/internal_api/public/base_transaction.h"
45 #include "sync/internal_api/public/engine/model_safe_worker.h" 45 #include "sync/internal_api/public/engine/model_safe_worker.h"
46 #include "sync/internal_api/read_transaction.h" 46 #include "sync/internal_api/public/read_transaction.h"
47 #include "sync/internal_api/public/util/experiments.h"
47 #include "sync/notifier/sync_notifier.h" 48 #include "sync/notifier/sync_notifier.h"
48 #include "sync/protocol/encryption.pb.h" 49 #include "sync/protocol/encryption.pb.h"
49 #include "sync/protocol/sync.pb.h" 50 #include "sync/protocol/sync.pb.h"
50 #include "sync/util/experiments.h"
51 #include "sync/util/nigori.h" 51 #include "sync/util/nigori.h"
52 52
53 static const int kSaveChangesIntervalSeconds = 10; 53 static const int kSaveChangesIntervalSeconds = 10;
54 static const FilePath::CharType kSyncDataFolderName[] = 54 static const FilePath::CharType kSyncDataFolderName[] =
55 FILE_PATH_LITERAL("Sync Data"); 55 FILE_PATH_LITERAL("Sync Data");
56 56
57 typedef TokenService::TokenAvailableDetails TokenAvailableDetails; 57 typedef TokenService::TokenAvailableDetails TokenAvailableDetails;
58 58
59 typedef GoogleServiceAuthError AuthError; 59 typedef GoogleServiceAuthError AuthError;
60 60
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 FROM_HERE, 1405 FROM_HERE,
1406 base::Bind(&SyncBackendHost::Core::DoRefreshNigori, 1406 base::Bind(&SyncBackendHost::Core::DoRefreshNigori,
1407 core_.get(), sync_thread_done_callback)); 1407 core_.get(), sync_thread_done_callback));
1408 } 1408 }
1409 1409
1410 #undef SDVLOG 1410 #undef SDVLOG
1411 1411
1412 #undef SLOG 1412 #undef SLOG
1413 1413
1414 } // namespace browser_sync 1414 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.h ('k') | chrome/browser/sync/glue/sync_backend_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698