diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-22 07:35:50 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-22 07:35:50 +0000 |
commit | 1f04ef4db936365c0cc1990f1a2b8a7bbbe37653 (patch) | |
tree | 571f9feea8ed976c01a7bd1cf56cee9894d5c005 /chrome/installer/util/installation_state.h | |
parent | 9246e364afd394dd3a7cc2bf838c7ea0b4fc1133 (diff) | |
download | chromium_src-1f04ef4db936365c0cc1990f1a2b8a7bbbe37653.zip chromium_src-1f04ef4db936365c0cc1990f1a2b8a7bbbe37653.tar.gz chromium_src-1f04ef4db936365c0cc1990f1a2b8a7bbbe37653.tar.bz2 |
Move Version to base namespace.
Adds "using base::Version" to the header to avoid having to update everything at
once. All forward declares and the locations where the forward declares are
used are updated.
Review URL: https://chromiumcodereview.appspot.com/14099010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/installation_state.h')
-rw-r--r-- | chrome/installer/util/installation_state.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/installer/util/installation_state.h b/chrome/installer/util/installation_state.h index 30097d5..153760d2 100644 --- a/chrome/installer/util/installation_state.h +++ b/chrome/installer/util/installation_state.h @@ -15,9 +15,8 @@ #include "chrome/installer/util/browser_distribution.h" #include "chrome/installer/util/channel_info.h" -class Version; - namespace base { +class Version; namespace win { class RegKey; } @@ -49,12 +48,12 @@ class ProductState { // Returns the product's version. This method may only be called on an // instance that has been initialized for an installed product. - const Version& version() const; + const base::Version& version() const; // Returns the current version of the product if a new version is awaiting // update; may be NULL. Ownership of a returned value is not passed to the // caller. - const Version* old_version() const { return old_version_.get(); } + const base::Version* old_version() const { return old_version_.get(); } // Returns the brand code the product is currently installed with. const std::wstring& brand() const { return brand_; } |