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

Unified Diff: chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 | « chrome/browser/diagnostics/recon_diagnostics.cc ('k') | chrome/browser/extensions/active_tab_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc
diff --git a/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc b/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc
index cd383b6096886c527a83ffe7c25616fcb277facb..df0814ae44424f3f043bd214fc1239abe4a8d458 100644
--- a/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc
+++ b/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc
@@ -8,9 +8,9 @@
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/profiles/incognito_helpers.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/common/chrome_version_info.h"
#include "components/enhanced_bookmarks/enhanced_bookmark_model.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
+#include "components/version_info/version_info.h"
namespace {
const char kVersionPrefix[] = "chrome.";
@@ -45,7 +45,7 @@ KeyedService* EnhancedBookmarkModelFactory::BuildServiceInstanceFor(
return new EnhancedBookmarkModel(
BookmarkModelFactory::GetForProfile(profile),
- kVersionPrefix + chrome::VersionInfo().Version());
+ kVersionPrefix + version_info::GetVersionNumber());
}
content::BrowserContext* EnhancedBookmarkModelFactory::GetBrowserContextToUse(
« no previous file with comments | « chrome/browser/diagnostics/recon_diagnostics.cc ('k') | chrome/browser/extensions/active_tab_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698