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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_model.h

Issue 1330423003: [Extensions Toolbar] Protect against crazy bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: chrome/browser/ui/toolbar/toolbar_actions_model.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model.h b/chrome/browser/ui/toolbar/toolbar_actions_model.h
index af7b0bd16cdbb336a5db199a9c59e5c0cadf6d93..684f485928472c5654dd23af124756bfa2a88ebb 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model.h
@@ -28,7 +28,10 @@ class ExtensionRegistry;
class ExtensionSet;
}
-// Model for the browser actions toolbar.
+// Model for the browser actions toolbar. This is a per-profile instance, and
+// manages the user's global preferences. These will typically be reflected in
+// each window, but can be overridden in special circumstances by the window's
+// ToolbarActionsBar (see also that class for details).
Peter Kasting 2015/09/17 19:59:53 Nit: Maybe instead of the sentence about "special
Devlin 2015/09/17 21:38:38 Done.
class ToolbarActionsModel : public extensions::ExtensionActionAPI::Observer,
public extensions::ExtensionRegistryObserver,
public KeyedService {

Powered by Google App Engine
This is Rietveld 408576698