OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_USER_SCRIPT_H_ | 5 #ifndef EXTENSIONS_COMMON_USER_SCRIPT_H_ |
6 #define CHROME_COMMON_EXTENSIONS_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 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 #include "extensions/common/url_pattern.h" | 13 #include "extensions/common/url_pattern.h" |
14 #include "extensions/common/url_pattern_set.h" | 14 #include "extensions/common/url_pattern_set.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 bool match_all_frames_; | 250 bool match_all_frames_; |
251 | 251 |
252 // True if the script should be injected into an incognito tab. | 252 // True if the script should be injected into an incognito tab. |
253 bool incognito_enabled_; | 253 bool incognito_enabled_; |
254 }; | 254 }; |
255 | 255 |
256 typedef std::vector<UserScript> UserScriptList; | 256 typedef std::vector<UserScript> UserScriptList; |
257 | 257 |
258 } // namespace extensions | 258 } // namespace extensions |
259 | 259 |
260 #endif // CHROME_COMMON_EXTENSIONS_USER_SCRIPT_H_ | 260 #endif // EXTENSIONS_COMMON_USER_SCRIPT_H_ |
OLD | NEW |