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

Unified Diff: chrome/browser/sync/profile_sync_service_bookmark_unittest.cc

Issue 306293006: Introduce ChromeBookmarkClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@364865
Patch Set: Add missing dependency in components/policy/policy_browser.gypi 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
index b1001142a83393160baf6014323f81360f73b046..8b4f85e1725808ed2a1ec7eaf00430983005e06b 100644
--- a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
@@ -24,6 +24,7 @@
#include "base/time/time.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/bookmarks/chrome_bookmark_client.h"
+#include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h"
#include "chrome/browser/sync/glue/bookmark_change_processor.h"
#include "chrome/browser/sync/glue/bookmark_model_associator.h"
#include "chrome/common/chrome_switches.h"
@@ -637,7 +638,7 @@ class ProfileSyncServiceBookmarkTest : public testing::Test {
ASSERT_TRUE(bnode);
ChromeBookmarkClient* client =
- BookmarkModelFactory::GetChromeBookmarkClientForProfile(&profile_);
+ ChromeBookmarkClientFactory::GetForProfile(&profile_);
ASSERT_TRUE(client);
ASSERT_FALSE(client->IsDescendantOfManagedNode(bnode));
@@ -2018,7 +2019,7 @@ void ProfileSyncServiceBookmarkTestWithData::GetTransactionVersions(
const BookmarkNode* root,
BookmarkNodeVersionMap* node_versions) {
ChromeBookmarkClient* client =
- BookmarkModelFactory::GetChromeBookmarkClientForProfile(&profile_);
+ ChromeBookmarkClientFactory::GetForProfile(&profile_);
ASSERT_TRUE(client);
node_versions->clear();

Powered by Google App Engine
This is Rietveld 408576698