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

Unified Diff: chrome/app/android/chrome_android_initializer.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/app/android/chrome_android_initializer.cc
diff --git a/chrome/app/android/chrome_android_initializer.cc b/chrome/app/android/chrome_android_initializer.cc
index 579566e12df02c8386a75db65191ea27dcb0538e..69aea9d31e487dbfec8b7d3448d4794e7f85b6eb 100644
--- a/chrome/app/android/chrome_android_initializer.cc
+++ b/chrome/app/android/chrome_android_initializer.cc
@@ -6,14 +6,13 @@
#include "base/android/library_loader/library_loader_hooks.h"
#include "chrome/app/android/chrome_main_delegate_android.h"
-#include "chrome/common/chrome_version_info.h"
+#include "components/version_info/version_info.h"
#include "content/public/app/content_main.h"
bool RunChrome() {
// Pass the library version number to content so that we can check it from the
// Java side before continuing initialization
- chrome::VersionInfo vi;
- base::android::SetVersionNumber(vi.Version().c_str());
+ base::android::SetVersionNumber(version_info::GetVersionNumber().c_str());
content::SetContentMainDelegate(ChromeMainDelegateAndroid::Create());
return true;
« no previous file with comments | « no previous file | chrome/app/chrome_crash_reporter_client.cc » ('j') | chrome/browser/chromeos/app_mode/startup_app_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698