summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/unpacked_installer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/unpacked_installer.h')
-rw-r--r--chrome/browser/extensions/unpacked_installer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/extensions/unpacked_installer.h b/chrome/browser/extensions/unpacked_installer.h
index f73d57a..437e223 100644
--- a/chrome/browser/extensions/unpacked_installer.h
+++ b/chrome/browser/extensions/unpacked_installer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -47,6 +47,9 @@ class UnpackedInstaller
explicit UnpackedInstaller(ExtensionService* extension_service);
virtual ~UnpackedInstaller();
+ // Verifies if loading unpacked extensions is allowed.
+ bool IsLoadingUnpackedAllowed() const;
+
// We change the input extension path to an absolute path, on the file thread.
// Then we need to check the file access preference, which needs
// to happen back on the UI thread, so it posts CheckExtensionFileAccess on