summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_distribution.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/google_chrome_distribution.h')
-rw-r--r--chrome/installer/util/google_chrome_distribution.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.h b/chrome/installer/util/google_chrome_distribution.h
index 6dd0f6b..5ac4835 100644
--- a/chrome/installer/util/google_chrome_distribution.h
+++ b/chrome/installer/util/google_chrome_distribution.h
@@ -79,10 +79,10 @@ class GoogleChromeDistribution : public BrowserDistribution {
virtual void InactiveUserToastExperiment(int flavor,
const installer::Product& installation);
- std::wstring product_guid() { return product_guid_; }
+ const std::wstring& product_guid() { return product_guid_; }
protected:
- void set_product_guid(std::wstring guid) { product_guid_ = guid; }
+ void set_product_guid(const std::wstring& guid) { product_guid_ = guid; }
// Disallow construction from others.
explicit GoogleChromeDistribution(