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

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

Issue 631333003: Adding application lifetime tests to athena, allowing to override focus request for applciations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_REGISTRY_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 27 matching lines...) Expand all
38 }; 38 };
39 39
40 explicit ExtensionRegistry(content::BrowserContext* browser_context); 40 explicit ExtensionRegistry(content::BrowserContext* browser_context);
41 virtual ~ExtensionRegistry(); 41 virtual ~ExtensionRegistry();
42 42
43 // Returns the instance for the given |browser_context|. 43 // Returns the instance for the given |browser_context|.
44 static ExtensionRegistry* Get(content::BrowserContext* browser_context); 44 static ExtensionRegistry* Get(content::BrowserContext* browser_context);
45 45
46 content::BrowserContext* browser_context() const { return browser_context_; } 46 content::BrowserContext* browser_context() const { return browser_context_; }
47 47
48 // NOTE: These sets are *eventually* mututally exclusive, but an extension can 48 // NOTE: These sets are *eventually* mutually exclusive, but an extension can
miket_OOO 2014/10/07 22:58:21 Thanks!
49 // appear in two sets for short periods of time. 49 // appear in two sets for short periods of time.
50 const ExtensionSet& enabled_extensions() const { 50 const ExtensionSet& enabled_extensions() const {
51 return enabled_extensions_; 51 return enabled_extensions_;
52 } 52 }
53 const ExtensionSet& disabled_extensions() const { 53 const ExtensionSet& disabled_extensions() const {
54 return disabled_extensions_; 54 return disabled_extensions_;
55 } 55 }
56 const ExtensionSet& terminated_extensions() const { 56 const ExtensionSet& terminated_extensions() const {
57 return terminated_extensions_; 57 return terminated_extensions_;
58 } 58 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 ObserverList<ExtensionRegistryObserver> observers_; 163 ObserverList<ExtensionRegistryObserver> observers_;
164 164
165 content::BrowserContext* const browser_context_; 165 content::BrowserContext* const browser_context_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); 167 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry);
168 }; 168 };
169 169
170 } // namespace extensions 170 } // namespace extensions
171 171
172 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ 172 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window_client.h ('k') | extensions/shell/browser/shell_app_window_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698