summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r--chrome/common/extensions/extension.h4
-rw-r--r--chrome/common/extensions/user_script.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 0e521c4..f1dbbfd 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -194,7 +194,7 @@ class Extension {
const FilePath& path() const { return path_; }
void set_path(const FilePath& path) { path_ = path; }
const GURL& url() const { return extension_url_; }
- const Location location() const { return location_; }
+ Location location() const { return location_; }
void set_location(Location location) { location_ = location; }
const std::string& id() const { return id_; }
const Version* version() const { return version_.get(); }
diff --git a/chrome/common/extensions/user_script.h b/chrome/common/extensions/user_script.h
index e2b3a96..9fbbe89 100644
--- a/chrome/common/extensions/user_script.h
+++ b/chrome/common/extensions/user_script.h
@@ -70,7 +70,7 @@ class UserScript {
void set_external_content(const base::StringPiece& content) {
external_content_ = content;
}
- const void set_content(const base::StringPiece& content) {
+ void set_content(const base::StringPiece& content) {
content_.assign(content.begin(), content.end());
}