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

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

Issue 312333005: Make the "Tabs" item on about:sync non-yellow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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_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 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 584
585 // TODO(sync): This is only used in tests. Can we remove it? 585 // TODO(sync): This is only used in tests. Can we remove it?
586 void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out) const; 586 void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out) const;
587 587
588 // Returns a ListValue indicating the status of all registered types. 588 // Returns a ListValue indicating the status of all registered types.
589 // 589 //
590 // The format is: 590 // The format is:
591 // [ {"name": <name>, "value": <value>, "status": <status> }, ... ] 591 // [ {"name": <name>, "value": <value>, "status": <status> }, ... ]
592 // where <name> is a type's name, <value> is a string providing details for 592 // where <name> is a type's name, <value> is a string providing details for
593 // the type's status, and <status> is one of "error", "warning" or "ok" 593 // the type's status, and <status> is one of "error", "warning" or "ok"
594 // dpending on the type's current status. 594 // depending on the type's current status.
595 // 595 //
596 // This function is used by sync_ui_util.cc to help populate the about:sync 596 // This function is used by about_sync_util.cc to help populate the about:sync
597 // page. It returns a ListValue rather than a DictionaryValue in part to make 597 // page. It returns a ListValue rather than a DictionaryValue in part to make
598 // it easier to iterate over its elements when constructing that page. 598 // it easier to iterate over its elements when constructing that page.
599 base::Value* GetTypeStatusMap() const; 599 base::Value* GetTypeStatusMap() const;
600 600
601 // Overridden by tests. 601 // Overridden by tests.
602 // TODO(zea): Remove these and have the dtc's call directly into the SBH. 602 // TODO(zea): Remove these and have the dtc's call directly into the SBH.
603 virtual void DeactivateDataType(syncer::ModelType type); 603 virtual void DeactivateDataType(syncer::ModelType type);
604 604
605 // SyncPrefObserver implementation. 605 // SyncPrefObserver implementation.
606 virtual void OnSyncManagedPrefChange(bool is_sync_managed) OVERRIDE; 606 virtual void OnSyncManagedPrefChange(bool is_sync_managed) OVERRIDE;
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 base::TimeDelta backup_start_delay_; 1100 base::TimeDelta backup_start_delay_;
1101 1101
1102 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 1102 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
1103 }; 1103 };
1104 1104
1105 bool ShouldShowActionOnUI( 1105 bool ShouldShowActionOnUI(
1106 const syncer::SyncProtocolError& error); 1106 const syncer::SyncProtocolError& error);
1107 1107
1108 1108
1109 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 1109 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | chrome/browser/sync/profile_sync_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698