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

Unified Diff: components/sync/model/model_type_debug_info.h

Issue 2672493002: [Sync] Switch bots to run integ tests for autofill as USS. (Closed)
Patch Set: Updated for Gang's comment. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/driver/model_type_controller.cc ('k') | components/sync/model/model_type_debug_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/model_type_debug_info.h
diff --git a/components/sync/model/model_type_debug_info.h b/components/sync/model/model_type_debug_info.h
index 276f6ab04a21322375f3a03ea16299686889e195..74cc940b06c2472eb51c27e9b67882aab8b4a1cf 100644
--- a/components/sync/model/model_type_debug_info.h
+++ b/components/sync/model/model_type_debug_info.h
@@ -8,7 +8,6 @@
#include <memory>
#include "base/callback.h"
-#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "components/sync/base/model_type.h"
#include "components/sync/model/model_type_sync_bridge.h"
@@ -25,16 +24,16 @@ class ModelTypeDebugInfo {
// Returns a ListValue representing all nodes for the type to |callback|.
// Used for populating nodes in Sync Node Browser of chrome://sync-internals.
static void GetAllNodes(
- const base::WeakPtr<ModelTypeSyncBridge>& bridge,
const base::Callback<void(const ModelType,
- std::unique_ptr<base::ListValue>)>& callback);
+ std::unique_ptr<base::ListValue>)>& callback,
+ ModelTypeSyncBridge* bridge);
// Returns StatusCounters for the type to |callback|.
// Used for updating data type counters in chrome://sync-internals.
static void GetStatusCounters(
- const base::WeakPtr<ModelTypeSyncBridge>& bridge,
const base::Callback<void(const ModelType, const StatusCounters&)>&
- callback);
+ callback,
+ ModelTypeSyncBridge* bridge);
private:
ModelTypeDebugInfo();
« no previous file with comments | « components/sync/driver/model_type_controller.cc ('k') | components/sync/model/model_type_debug_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698