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

Side by Side Diff: extensions/browser/extension_prefs.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | extensions/common/view_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_EXTENSION_PREFS_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 // Describes the URLs that are able to install extensions. See 493 // Describes the URLs that are able to install extensions. See
494 // pref_names::kAllowedInstallSites for more information. 494 // pref_names::kAllowedInstallSites for more information.
495 URLPatternSet GetAllowedInstallSites(); 495 URLPatternSet GetAllowedInstallSites();
496 496
497 // Schedules garbage collection of an extension's on-disk data on the next 497 // Schedules garbage collection of an extension's on-disk data on the next
498 // start of this ExtensionService. Applies only to extensions with isolated 498 // start of this ExtensionService. Applies only to extensions with isolated
499 // storage. 499 // storage.
500 void SetNeedsStorageGarbageCollection(bool value); 500 void SetNeedsStorageGarbageCollection(bool value);
501 bool NeedsStorageGarbageCollection(); 501 bool NeedsStorageGarbageCollection();
502 502
503 // Used by ShellWindowGeometryCache to persist its cache. These methods 503 // Used by AppWindowGeometryCache to persist its cache. These methods
504 // should not be called directly. 504 // should not be called directly.
505 const base::DictionaryValue* GetGeometryCache( 505 const base::DictionaryValue* GetGeometryCache(
506 const std::string& extension_id) const; 506 const std::string& extension_id) const;
507 void SetGeometryCache(const std::string& extension_id, 507 void SetGeometryCache(const std::string& extension_id,
508 scoped_ptr<base::DictionaryValue> cache); 508 scoped_ptr<base::DictionaryValue> cache);
509 509
510 // Used for verification of installed extension ids. For the Set method, pass 510 // Used for verification of installed extension ids. For the Set method, pass
511 // null to remove the preference. 511 // null to remove the preference.
512 const base::DictionaryValue* GetInstallSignature(); 512 const base::DictionaryValue* GetInstallSignature();
513 void SetInstallSignature(const base::DictionaryValue* signature); 513 void SetInstallSignature(const base::DictionaryValue* signature);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 scoped_ptr<TimeProvider> time_provider_; 643 scoped_ptr<TimeProvider> time_provider_;
644 644
645 bool extensions_disabled_; 645 bool extensions_disabled_;
646 646
647 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); 647 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs);
648 }; 648 };
649 649
650 } // namespace extensions 650 } // namespace extensions
651 651
652 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ 652 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | extensions/common/view_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698