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

Unified Diff: chrome/common/extensions/api/extension_api.h

Issue 10177007: Add buffer to capture crash in ExtensionAPI::LoadSchemaList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: koz Created 8 years, 8 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/common/extensions/api/extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.h
diff --git a/chrome/common/extensions/api/extension_api.h b/chrome/common/extensions/api/extension_api.h
index 1d489c34225d038e1b8d9c3d75c206958b747ae3..cbbdaadef180cd8a8eca139ee90ae90a131370af 100644
--- a/chrome/common/extensions/api/extension_api.h
+++ b/chrome/common/extensions/api/extension_api.h
@@ -119,7 +119,7 @@ class ExtensionAPI : public FeatureProvider {
friend struct DefaultSingletonTraits<ExtensionAPI>;
// Loads a schema.
- void LoadSchema(const base::StringPiece& schema);
+ void LoadSchema(const std::string& name, const base::StringPiece& schema);
// Returns true if the function or event under |namespace_node| with
// the specified |child_name| is privileged, or false otherwise. If the name
« no previous file with comments | « no previous file | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698