Index: chrome/common/extensions/user_script.h |
diff --git a/chrome/common/extensions/user_script.h b/chrome/common/extensions/user_script.h |
index 3be2f1133e0a772472d7961099679f517dca7320..3d91de16f2dcea6d2cb1903ace91a57d2acea255 100644 |
--- a/chrome/common/extensions/user_script.h |
+++ b/chrome/common/extensions/user_script.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -152,7 +152,6 @@ class UserScript { |
// against. |
const PatternList& url_patterns() const { return url_patterns_; } |
void add_url_pattern(const URLPattern& pattern); |
- void clear_url_patterns(); |
// List of js scripts for this user script |
FileList& js_scripts() { return js_scripts_; } |
@@ -168,9 +167,6 @@ class UserScript { |
bool is_incognito_enabled() const { return incognito_enabled_; } |
void set_incognito_enabled(bool enabled) { incognito_enabled_ = enabled; } |
- bool allow_file_access() const { return allow_file_access_; } |
- void set_allow_file_access(bool allowed) { allow_file_access_ = allowed; } |
- |
bool is_standalone() const { return extension_id_.empty(); } |
// Returns true if the script should be applied to the specified URL, false |
@@ -233,9 +229,6 @@ class UserScript { |
// True if the script should be injected into an incognito tab. |
bool incognito_enabled_; |
- |
- // True if the user agreed to allow this script access to file URLs. |
- bool allow_file_access_; |
}; |
typedef std::vector<UserScript> UserScriptList; |