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_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 return content_settings_store_.get(); | 470 return content_settings_store_.get(); |
471 } | 471 } |
472 | 472 |
473 // The underlying PrefService. | 473 // The underlying PrefService. |
474 PrefService* pref_service() const { return prefs_; } | 474 PrefService* pref_service() const { return prefs_; } |
475 | 475 |
476 // The underlying AppSorting. | 476 // The underlying AppSorting. |
477 AppSorting* app_sorting() const { return app_sorting_.get(); } | 477 AppSorting* app_sorting() const { return app_sorting_.get(); } |
478 | 478 |
479 // Describes the URLs that are able to install extensions. See | 479 // Describes the URLs that are able to install extensions. See |
480 // prefs::kExtensionAllowedInstallSites for more information. | 480 // pref_names::kAllowedInstallSites for more information. |
481 URLPatternSet GetAllowedInstallSites(); | 481 URLPatternSet GetAllowedInstallSites(); |
482 | 482 |
483 // Schedules garbage collection of an extension's on-disk data on the next | 483 // Schedules garbage collection of an extension's on-disk data on the next |
484 // start of this ExtensionService. Applies only to extensions with isolated | 484 // start of this ExtensionService. Applies only to extensions with isolated |
485 // storage. | 485 // storage. |
486 void SetNeedsStorageGarbageCollection(bool value); | 486 void SetNeedsStorageGarbageCollection(bool value); |
487 bool NeedsStorageGarbageCollection(); | 487 bool NeedsStorageGarbageCollection(); |
488 | 488 |
489 // Used by ShellWindowGeometryCache to persist its cache. These methods | 489 // Used by ShellWindowGeometryCache to persist its cache. These methods |
490 // should not be called directly. | 490 // should not be called directly. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 scoped_ptr<TimeProvider> time_provider_; | 628 scoped_ptr<TimeProvider> time_provider_; |
629 | 629 |
630 bool extensions_disabled_; | 630 bool extensions_disabled_; |
631 | 631 |
632 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 632 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
633 }; | 633 }; |
634 | 634 |
635 } // namespace extensions | 635 } // namespace extensions |
636 | 636 |
637 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 637 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
OLD | NEW |