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

Side by Side Diff: extensions/common/user_script.h

Issue 420543002: Declarative content scripts: Browser-side: per-extension shared memory regions (lazily loaded) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor UserScriptMaster into UserScriptLoader, managed by SharedUserScriptMaster and DeclarativeU… Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_COMMON_USER_SCRIPT_H_ 5 #ifndef EXTENSIONS_COMMON_USER_SCRIPT_H_
6 #define EXTENSIONS_COMMON_USER_SCRIPT_H_ 6 #define EXTENSIONS_COMMON_USER_SCRIPT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 bool match_all_frames_; 280 bool match_all_frames_;
281 281
282 // Whether the user script should run in about:blank and about:srcdoc as well. 282 // Whether the user script should run in about:blank and about:srcdoc as well.
283 // Defaults to false. 283 // Defaults to false.
284 bool match_about_blank_; 284 bool match_about_blank_;
285 285
286 // True if the script should be injected into an incognito tab. 286 // True if the script should be injected into an incognito tab.
287 bool incognito_enabled_; 287 bool incognito_enabled_;
288 }; 288 };
289 289
290 // For storing UserScripts with unique IDs in sets.
291 bool operator<(const UserScript& script1, const UserScript& script2);
292
293 typedef std::vector<UserScript> UserScriptList;
Devlin 2014/08/04 18:33:26 Delete
Mark Dittmer 2014/08/05 20:33:20 Done.
290 typedef std::vector<UserScript> UserScriptList; 294 typedef std::vector<UserScript> UserScriptList;
291 295
292 } // namespace extensions 296 } // namespace extensions
293 297
294 #endif // EXTENSIONS_COMMON_USER_SCRIPT_H_ 298 #endif // EXTENSIONS_COMMON_USER_SCRIPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698