diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 23:02:11 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 23:02:11 +0000 |
commit | 1eeb5e08580730cb2a0a2751f578dbc4e6402369 (patch) | |
tree | 8c630e2df02da8815f0ae5984bb708e8186af400 /chrome/browser/upgrade_detector.cc | |
parent | 4b783b4849481423eea0c1a99eb56f1b218ec4ba (diff) | |
download | chromium_src-1eeb5e08580730cb2a0a2751f578dbc4e6402369.zip chromium_src-1eeb5e08580730cb2a0a2751f578dbc4e6402369.tar.gz chromium_src-1eeb5e08580730cb2a0a2751f578dbc4e6402369.tar.bz2 |
Cleanup: Break another common->app dependency.
BUG=46666
TEST=none
Review URL: http://codereview.chromium.org/3007008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/upgrade_detector.cc')
-rw-r--r-- | chrome/browser/upgrade_detector.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc index 192f285..38bd2cd 100644 --- a/chrome/browser/upgrade_detector.cc +++ b/chrome/browser/upgrade_detector.cc @@ -4,6 +4,8 @@ #include "chrome/browser/upgrade_detector.h" +#include <string> + #include "base/command_line.h" #include "base/file_version_info.h" #include "base/scoped_ptr.h" @@ -11,10 +13,10 @@ #include "base/task.h" #include "base/utf_string_conversions.h" #include "base/version.h" -#include "chrome/app/chrome_version_info.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/pref_service.h" #include "chrome/common/chrome_switches.h" +#include "chrome/common/chrome_version_info.h" #include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" #include "chrome/common/pref_names.h" @@ -104,7 +106,7 @@ class DetectUpgradeTask : public Task { #endif // Get the version of the currently *running* instance of Chrome. - scoped_ptr<FileVersionInfo> version(chrome_app::GetChromeVersionInfo()); + scoped_ptr<FileVersionInfo> version(chrome::GetChromeVersionInfo()); if (version.get() == NULL) { NOTREACHED() << "Failed to get current file version"; return; |