Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: chrome/browser/extensions/shell_window_registry.h

Issue 10825016: Fixed coverity defects regarding pass-by-value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed non-compiling code caused by neglect to update header file Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/shell_window_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/shell_window_registry.h
diff --git a/chrome/browser/extensions/shell_window_registry.h b/chrome/browser/extensions/shell_window_registry.h
index 52f3e1f233460d13cb5b834320b786a76f9d720a..3e248cbc8acde92f8282f0af3aae46270766cc36 100644
--- a/chrome/browser/extensions/shell_window_registry.h
+++ b/chrome/browser/extensions/shell_window_registry.h
@@ -58,7 +58,7 @@ class ShellWindowRegistry : public ProfileKeyedService {
void RemoveObserver(Observer* observer);
// Returns a set of windows owned by the application identified by app_id.
- ShellWindowSet GetShellWindowsForApp(const std::string app_id) const;
+ ShellWindowSet GetShellWindowsForApp(const std::string& app_id) const;
const ShellWindowSet& shell_windows() const { return shell_windows_; }
// Helper functions to find shell windows with particular attributes.
« no previous file with comments | « no previous file | chrome/browser/extensions/shell_window_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698