| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <map> | |
| 11 | 10 |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 14 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 15 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 16 #include "base/string16.h" | 15 #include "base/string16.h" |
| 17 #include "base/time.h" | 16 #include "base/time.h" |
| 18 #include "chrome/browser/google_service_auth_error.h" | 17 #include "chrome/browser/google_service_auth_error.h" |
| 19 #include "chrome/browser/pref_member.h" | 18 #include "chrome/browser/pref_member.h" |
| 20 #include "chrome/browser/sync/glue/data_type_controller.h" | 19 #include "chrome/browser/sync/glue/data_type_controller.h" |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 | 444 |
| 446 // This allows us to gracefully handle an ABORTED return code from the | 445 // This allows us to gracefully handle an ABORTED return code from the |
| 447 // DataTypeManager in the event that the server informed us to cease and | 446 // DataTypeManager in the event that the server informed us to cease and |
| 448 // desist syncing immediately. | 447 // desist syncing immediately. |
| 449 bool expect_sync_configuration_aborted_; | 448 bool expect_sync_configuration_aborted_; |
| 450 | 449 |
| 451 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 450 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
| 452 }; | 451 }; |
| 453 | 452 |
| 454 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 453 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |