1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/app/android/chrome_android_initializer.h"
7 #include "base/android/library_loader/library_loader_hooks.h"
8 #include "chrome/app/android/chrome_main_delegate_android.h"
9 #include "chrome/common/chrome_version_info.h"
10 #include "content/public/app/content_main.h"
13 // Pass the library version number to content so that we can check it from the
14 // Java side before continuing initialization
15 chrome::VersionInfo vi
;
16 base::android::SetVersionNumber(vi
.Version().c_str());
17 content::SetContentMainDelegate(ChromeMainDelegateAndroid::Create());