diff options
Diffstat (limited to 'chrome/browser/sync/glue')
23 files changed, 45 insertions, 45 deletions
diff --git a/chrome/browser/sync/glue/app_data_type_controller.cc b/chrome/browser/sync/glue/app_data_type_controller.cc index d26b5fa..453d5e2 100644 --- a/chrome/browser/sync/glue/app_data_type_controller.cc +++ b/chrome/browser/sync/glue/app_data_type_controller.cc @@ -7,11 +7,11 @@ #include "base/metrics/histogram.h" #include "base/logging.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.cc b/chrome/browser/sync/glue/autofill_data_type_controller.cc index 837dc29..37582fe 100644 --- a/chrome/browser/sync/glue/autofill_data_type_controller.cc +++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc @@ -8,7 +8,6 @@ #include "base/metrics/histogram.h" #include "base/task.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/autofill_change_processor.h" #include "chrome/browser/sync/glue/autofill_model_associator.h" @@ -16,6 +15,7 @@ #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/webdata/web_data_service.h" #include "chrome/common/notification_service.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/autofill_model_associator.cc b/chrome/browser/sync/glue/autofill_model_associator.cc index e081538..9a106d4 100644 --- a/chrome/browser/sync/glue/autofill_model_associator.cc +++ b/chrome/browser/sync/glue/autofill_model_associator.cc @@ -12,7 +12,6 @@ #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" #include "chrome/browser/autofill/autofill_profile.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/engine/syncapi.h" #include "chrome/browser/sync/glue/autofill_change_processor.h" @@ -22,6 +21,7 @@ #include "chrome/browser/sync/protocol/autofill_specifics.pb.h" #include "chrome/browser/webdata/web_database.h" #include "chrome/common/guid.h" +#include "content/browser/browser_thread.h" #include "net/base/escape.h" using base::TimeTicks; diff --git a/chrome/browser/sync/glue/bookmark_change_processor.cc b/chrome/browser/sync/glue/bookmark_change_processor.cc index 4e53d53..ad673ef 100644 --- a/chrome/browser/sync/glue/bookmark_change_processor.cc +++ b/chrome/browser/sync/glue/bookmark_change_processor.cc @@ -11,10 +11,10 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_utils.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/favicon_service.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/profile_sync_service.h" +#include "content/browser/browser_thread.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/codec/png_codec.h" diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller.cc b/chrome/browser/sync/glue/bookmark_data_type_controller.cc index 26a02f4..93d1430 100644 --- a/chrome/browser/sync/glue/bookmark_data_type_controller.cc +++ b/chrome/browser/sync/glue/bookmark_data_type_controller.cc @@ -8,7 +8,6 @@ #include "base/metrics/histogram.h" #include "base/time.h" #include "chrome/browser/bookmarks/bookmark_model.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/bookmark_change_processor.h" #include "chrome/browser/sync/glue/bookmark_model_associator.h" @@ -17,6 +16,7 @@ #include "chrome/common/notification_details.h" #include "chrome/common/notification_source.h" #include "chrome/common/notification_type.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/bookmark_model_associator.cc b/chrome/browser/sync/glue/bookmark_model_associator.cc index 3a5f1bd..743623d 100644 --- a/chrome/browser/sync/glue/bookmark_model_associator.cc +++ b/chrome/browser/sync/glue/bookmark_model_associator.cc @@ -11,12 +11,12 @@ #include "base/task.h" #include "base/utf_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_model.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/engine/syncapi.h" #include "chrome/browser/sync/syncable/autofill_migration.h" #include "chrome/browser/sync/glue/bookmark_change_processor.h" #include "chrome/browser/sync/profile_sync_service.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/data_type_controller.h b/chrome/browser/sync/glue/data_type_controller.h index 62da8ed..1e9ae11 100644 --- a/chrome/browser/sync/glue/data_type_controller.h +++ b/chrome/browser/sync/glue/data_type_controller.h @@ -9,10 +9,10 @@ #include <map> #include "base/callback.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/engine/model_safe_worker.h" #include "chrome/browser/sync/syncable/model_type.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/data_type_manager_impl.cc b/chrome/browser/sync/glue/data_type_manager_impl.cc index 3408ad8..46a6e4b 100644 --- a/chrome/browser/sync/glue/data_type_manager_impl.cc +++ b/chrome/browser/sync/glue/data_type_manager_impl.cc @@ -8,13 +8,13 @@ #include "base/logging.h" #include "base/message_loop.h" #include "base/task.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/glue/data_type_controller.h" #include "chrome/browser/sync/glue/data_type_manager_impl.h" #include "chrome/browser/sync/glue/sync_backend_host.h" #include "chrome/common/notification_details.h" #include "chrome/common/notification_service.h" #include "chrome/common/notification_source.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/data_type_manager_impl2.cc b/chrome/browser/sync/glue/data_type_manager_impl2.cc index 9cb11e4..9a80671 100644 --- a/chrome/browser/sync/glue/data_type_manager_impl2.cc +++ b/chrome/browser/sync/glue/data_type_manager_impl2.cc @@ -6,12 +6,12 @@ #include "base/compiler_specific.h" #include "base/logging.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/glue/data_type_controller.h" #include "chrome/browser/sync/glue/sync_backend_host.h" #include "chrome/common/notification_details.h" #include "chrome/common/notification_service.h" #include "chrome/common/notification_source.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/database_model_worker.cc b/chrome/browser/sync/glue/database_model_worker.cc index 91bba5b..8503e8b 100644 --- a/chrome/browser/sync/glue/database_model_worker.cc +++ b/chrome/browser/sync/glue/database_model_worker.cc @@ -5,7 +5,7 @@ #include "chrome/browser/sync/glue/database_model_worker.h" #include "base/synchronization/waitable_event.h" -#include "chrome/browser/browser_thread.h" +#include "content/browser/browser_thread.h" using base::WaitableEvent; diff --git a/chrome/browser/sync/glue/do_optimistic_refresh_task.cc b/chrome/browser/sync/glue/do_optimistic_refresh_task.cc index 654fed2..89ca6fd 100644 --- a/chrome/browser/sync/glue/do_optimistic_refresh_task.cc +++ b/chrome/browser/sync/glue/do_optimistic_refresh_task.cc @@ -1,23 +1,23 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/sync/glue/do_optimistic_refresh_task.h"
-
-#include "chrome/browser/autofill/personal_data_manager.h"
-#include "chrome/browser/browser_thread.h"
-
-namespace browser_sync {
-
-DoOptimisticRefreshForAutofill::DoOptimisticRefreshForAutofill(
- PersonalDataManager* pdm) : pdm_(pdm) {}
-
-DoOptimisticRefreshForAutofill::~DoOptimisticRefreshForAutofill() {}
-
-void DoOptimisticRefreshForAutofill::Run() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- pdm_->Refresh();
-}
-
-} // namespace browser_sync
-
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/sync/glue/do_optimistic_refresh_task.h" + +#include "chrome/browser/autofill/personal_data_manager.h" +#include "content/browser/browser_thread.h" + +namespace browser_sync { + +DoOptimisticRefreshForAutofill::DoOptimisticRefreshForAutofill( + PersonalDataManager* pdm) : pdm_(pdm) {} + +DoOptimisticRefreshForAutofill::~DoOptimisticRefreshForAutofill() {} + +void DoOptimisticRefreshForAutofill::Run() { + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); + pdm_->Refresh(); +} + +} // namespace browser_sync + diff --git a/chrome/browser/sync/glue/extension_change_processor.cc b/chrome/browser/sync/glue/extension_change_processor.cc index 8997b20..7cf1a2e 100644 --- a/chrome/browser/sync/glue/extension_change_processor.cc +++ b/chrome/browser/sync/glue/extension_change_processor.cc @@ -9,7 +9,6 @@ #include "base/logging.h" #include "base/stl_util-inl.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/sync/glue/extension_sync.h" @@ -18,6 +17,7 @@ #include "chrome/common/extensions/extension.h" #include "chrome/common/notification_details.h" #include "chrome/common/notification_source.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/extension_data_type_controller.cc b/chrome/browser/sync/glue/extension_data_type_controller.cc index 0f67690..47b9427 100644 --- a/chrome/browser/sync/glue/extension_data_type_controller.cc +++ b/chrome/browser/sync/glue/extension_data_type_controller.cc @@ -7,11 +7,11 @@ #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/extension_model_associator.cc b/chrome/browser/sync/glue/extension_model_associator.cc index 339c702..c381705 100644 --- a/chrome/browser/sync/glue/extension_model_associator.cc +++ b/chrome/browser/sync/glue/extension_model_associator.cc @@ -5,11 +5,11 @@ #include "chrome/browser/sync/glue/extension_model_associator.h" #include "base/logging.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/glue/extension_data.h" #include "chrome/browser/sync/glue/extension_sync_traits.h" #include "chrome/browser/sync/glue/extension_sync.h" #include "chrome/browser/sync/protocol/extension_specifics.pb.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/http_bridge.cc b/chrome/browser/sync/glue/http_bridge.cc index 0557c64..610de89 100644 --- a/chrome/browser/sync/glue/http_bridge.cc +++ b/chrome/browser/sync/glue/http_bridge.cc @@ -7,7 +7,7 @@ #include "base/message_loop.h" #include "base/message_loop_proxy.h" #include "base/string_number_conversions.h" -#include "chrome/browser/browser_thread.h" +#include "content/browser/browser_thread.h" #include "net/base/cookie_monster.h" #include "net/base/host_resolver.h" #include "net/base/load_flags.h" diff --git a/chrome/browser/sync/glue/password_data_type_controller.cc b/chrome/browser/sync/glue/password_data_type_controller.cc index b43b5ba..77c09da 100644 --- a/chrome/browser/sync/glue/password_data_type_controller.cc +++ b/chrome/browser/sync/glue/password_data_type_controller.cc @@ -8,13 +8,13 @@ #include "base/logging.h" #include "base/task.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/password_manager/password_store.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/password_change_processor.h" #include "chrome/browser/sync/glue/password_model_associator.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/preference_change_processor.cc b/chrome/browser/sync/glue/preference_change_processor.cc index 5b6787b..b8f0d20 100644 --- a/chrome/browser/sync/glue/preference_change_processor.cc +++ b/chrome/browser/sync/glue/preference_change_processor.cc @@ -10,7 +10,6 @@ #include "base/auto_reset.h" #include "base/json/json_reader.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/preference_model_associator.h" #include "chrome/browser/sync/profile_sync_service.h" @@ -19,6 +18,7 @@ #include "chrome/common/notification_details.h" #include "chrome/common/notification_source.h" #include "chrome/common/pref_names.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/preference_data_type_controller.cc b/chrome/browser/sync/glue/preference_data_type_controller.cc index d5c09cf..f1ddd510 100644 --- a/chrome/browser/sync/glue/preference_data_type_controller.cc +++ b/chrome/browser/sync/glue/preference_data_type_controller.cc @@ -7,12 +7,12 @@ #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/glue/preference_change_processor.h" #include "chrome/browser/sync/glue/preference_model_associator.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/preference_model_associator.cc b/chrome/browser/sync/glue/preference_model_associator.cc index dd9cb96..63a058c 100644 --- a/chrome/browser/sync/glue/preference_model_associator.cc +++ b/chrome/browser/sync/glue/preference_model_associator.cc @@ -8,7 +8,6 @@ #include "base/logging.h" #include "base/values.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/engine/syncapi.h" @@ -18,6 +17,7 @@ #include "chrome/common/json_value_serializer.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_names.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/session_data_type_controller.cc b/chrome/browser/sync/glue/session_data_type_controller.cc index 162891c..c4ca5b8 100644 --- a/chrome/browser/sync/glue/session_data_type_controller.cc +++ b/chrome/browser/sync/glue/session_data_type_controller.cc @@ -7,12 +7,12 @@ #include "base/metrics/histogram.h" #include "base/logging.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/sync/glue/session_change_processor.h" #include "chrome/browser/sync/glue/session_model_associator.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc index 1045146..dd36386 100644 --- a/chrome/browser/sync/glue/sync_backend_host.cc +++ b/chrome/browser/sync/glue/sync_backend_host.cc @@ -12,7 +12,6 @@ #include "base/task.h" #include "base/threading/thread_restrictions.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/net/gaia/token_service.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profiles/profile.h" @@ -37,6 +36,7 @@ #include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" #include "chrome/common/pref_names.h" +#include "content/browser/browser_thread.h" #include "webkit/glue/webkit_glue.h" static const int kSaveChangesIntervalSeconds = 10; diff --git a/chrome/browser/sync/glue/theme_data_type_controller.cc b/chrome/browser/sync/glue/theme_data_type_controller.cc index 166710d..6abe990 100644 --- a/chrome/browser/sync/glue/theme_data_type_controller.cc +++ b/chrome/browser/sync/glue/theme_data_type_controller.cc @@ -7,13 +7,13 @@ #include "base/metrics/histogram.h" #include "base/logging.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/theme_change_processor.h" #include "chrome/browser/sync/glue/theme_model_associator.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" +#include "content/browser/browser_thread.h" namespace browser_sync { diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.cc b/chrome/browser/sync/glue/typed_url_data_type_controller.cc index 81e8d47..316c245 100644 --- a/chrome/browser/sync/glue/typed_url_data_type_controller.cc +++ b/chrome/browser/sync/glue/typed_url_data_type_controller.cc @@ -8,7 +8,6 @@ #include "base/logging.h" #include "base/task.h" #include "base/time.h" -#include "chrome/browser/browser_thread.h" #include "chrome/browser/history/history.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/glue/typed_url_change_processor.h" @@ -16,6 +15,7 @@ #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_factory.h" #include "chrome/common/notification_service.h" +#include "content/browser/browser_thread.h" namespace browser_sync { |