Index: components/nacl/browser/nacl_browser_delegate.h |
diff --git a/components/nacl/browser/nacl_browser_delegate.h b/components/nacl/browser/nacl_browser_delegate.h |
index bf23965709143709fc36fc8dab5acb8ac8964ac7..45c93b5676608d62e3ad7e901b01982946ab841d 100644 |
--- a/components/nacl/browser/nacl_browser_delegate.h |
+++ b/components/nacl/browser/nacl_browser_delegate.h |
@@ -68,7 +68,7 @@ class NaClBrowserDelegate { |
const base::FilePath& profile_directory, |
base::FilePath* file_path) = 0; |
// Set match patterns which will be checked before enabling debug stub. |
- virtual void SetDebugPatterns(std::string debug_patterns) = 0; |
+ virtual void SetDebugPatterns(const std::string& debug_patterns) = 0; |
// Returns whether NaCl application with this manifest URL should be debugged. |
virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) = 0; |