summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_bookmarks_module.h
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 21:58:02 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 21:58:02 +0000
commitf25b54a14db3a1188b1bc1956f1eb9ebf8ba2339 (patch)
treec6741889eec101c67647fac0db40026943607262 /chrome/browser/extensions/extension_bookmarks_module.h
parent1d56a9a146266235ec9acbdbe556ac67b94e69a7 (diff)
downloadchromium_src-f25b54a14db3a1188b1bc1956f1eb9ebf8ba2339.zip
chromium_src-f25b54a14db3a1188b1bc1956f1eb9ebf8ba2339.tar.gz
chromium_src-f25b54a14db3a1188b1bc1956f1eb9ebf8ba2339.tar.bz2
Coverity PASS_BY_VALUE fixes
CID=2660,2611,2584,2582 BUG=none TEST=none Review URL: http://codereview.chromium.org/6736001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_bookmarks_module.h')
-rw-r--r--chrome/browser/extensions/extension_bookmarks_module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_bookmarks_module.h b/chrome/browser/extensions/extension_bookmarks_module.h
index 78008d6..8aef991 100644
--- a/chrome/browser/extensions/extension_bookmarks_module.h
+++ b/chrome/browser/extensions/extension_bookmarks_module.h
@@ -63,7 +63,7 @@ class ExtensionBookmarkEventRouter : public BookmarkModelObserver {
// Helper to actually dispatch an event to extension listeners.
void DispatchEvent(Profile* profile,
const char* event_name,
- const std::string json_args);
+ const std::string& json_args);
// These are stored so that Observe can be called multiple times safely.
// This way the caller doesn't have to know whether it's already observing