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

Side by Side Diff: components/sync/driver/sync_service.h

Issue 2374913002: [USS] Show USS counters in about:sync page (Closed)
Patch Set: re-comments Created 4 years, 2 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
« no previous file with comments | « components/sync/driver/sync_frontend.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // 292 //
293 // The format is: 293 // The format is:
294 // [ {"name": <name>, "value": <value>, "status": <status> }, ... ] 294 // [ {"name": <name>, "value": <value>, "status": <status> }, ... ]
295 // where <name> is a type's name, <value> is a string providing details for 295 // where <name> is a type's name, <value> is a string providing details for
296 // the type's status, and <status> is one of "error", "warning" or "ok" 296 // the type's status, and <status> is one of "error", "warning" or "ok"
297 // depending on the type's current status. 297 // depending on the type's current status.
298 // 298 //
299 // This function is used by about_sync_util.cc to help populate the about:sync 299 // This function is used by about_sync_util.cc to help populate the about:sync
300 // page. It returns a ListValue rather than a DictionaryValue in part to make 300 // page. It returns a ListValue rather than a DictionaryValue in part to make
301 // it easier to iterate over its elements when constructing that page. 301 // it easier to iterate over its elements when constructing that page.
302 virtual base::Value* GetTypeStatusMap() const = 0; 302 virtual base::Value* GetTypeStatusMap() = 0;
303 303
304 virtual const GURL& sync_service_url() const = 0; 304 virtual const GURL& sync_service_url() const = 0;
305 305
306 virtual std::string unrecoverable_error_message() const = 0; 306 virtual std::string unrecoverable_error_message() const = 0;
307 virtual tracked_objects::Location unrecoverable_error_location() const = 0; 307 virtual tracked_objects::Location unrecoverable_error_location() const = 0;
308 308
309 virtual void AddProtocolEventObserver(ProtocolEventObserver* observer) = 0; 309 virtual void AddProtocolEventObserver(ProtocolEventObserver* observer) = 0;
310 virtual void RemoveProtocolEventObserver(ProtocolEventObserver* observer) = 0; 310 virtual void RemoveProtocolEventObserver(ProtocolEventObserver* observer) = 0;
311 311
312 virtual void AddTypeDebugInfoObserver(TypeDebugInfoObserver* observer) = 0; 312 virtual void AddTypeDebugInfoObserver(TypeDebugInfoObserver* observer) = 0;
(...skipping 15 matching lines...) Expand all
328 protected: 328 protected:
329 SyncService() {} 329 SyncService() {}
330 330
331 private: 331 private:
332 DISALLOW_COPY_AND_ASSIGN(SyncService); 332 DISALLOW_COPY_AND_ASSIGN(SyncService);
333 }; 333 };
334 334
335 } // namespace syncer 335 } // namespace syncer
336 336
337 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ 337 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync/driver/sync_frontend.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698