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

Side by Side Diff: chrome/browser/sync/profile_sync_service_harness.h

Issue 10387158: Merge 136934 - Notify sync observers whenever preferred types change (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 years, 7 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 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // AwaitMigration(). 352 // AwaitMigration().
353 syncable::ModelTypeSet migrated_types_; 353 syncable::ModelTypeSet migrated_types_;
354 354
355 // Used for logging. 355 // Used for logging.
356 const std::string profile_debug_name_; 356 const std::string profile_debug_name_;
357 357
358 // Keeps track of the number of attempts at exponential backoff and its 358 // Keeps track of the number of attempts at exponential backoff and its
359 // related bookkeeping information for verification. 359 // related bookkeeping information for verification.
360 browser_sync::RetryVerifier retry_verifier_; 360 browser_sync::RetryVerifier retry_verifier_;
361 361
362 // Flag set to true when we're waiting for a status change to happen. Used to
363 // avoid triggering internal state machine logic on unexpected sync observer
364 // callbacks.
365 bool waiting_for_status_change_;
366
362 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); 367 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness);
363 }; 368 };
364 369
365 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ 370 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698