OLD | NEW |
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 CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 content::BrowserContext* second) OVERRIDE; | 36 content::BrowserContext* second) OVERRIDE; |
37 virtual bool HasOffTheRecordContext( | 37 virtual bool HasOffTheRecordContext( |
38 content::BrowserContext* context) OVERRIDE; | 38 content::BrowserContext* context) OVERRIDE; |
39 virtual content::BrowserContext* GetOffTheRecordContext( | 39 virtual content::BrowserContext* GetOffTheRecordContext( |
40 content::BrowserContext* context) OVERRIDE; | 40 content::BrowserContext* context) OVERRIDE; |
41 virtual content::BrowserContext* GetOriginalContext( | 41 virtual content::BrowserContext* GetOriginalContext( |
42 content::BrowserContext* context) OVERRIDE; | 42 content::BrowserContext* context) OVERRIDE; |
43 virtual bool DeferLoadingBackgroundHosts( | 43 virtual bool DeferLoadingBackgroundHosts( |
44 content::BrowserContext* context) const OVERRIDE; | 44 content::BrowserContext* context) const OVERRIDE; |
45 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 45 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
| 46 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
46 | 47 |
47 // Get the LazyInstance for ChromeBrowserClient. | 48 // Get the LazyInstance for ChromeBrowserClient. |
48 static ChromeExtensionsBrowserClient* GetInstance(); | 49 static ChromeExtensionsBrowserClient* GetInstance(); |
49 | 50 |
50 private: | 51 private: |
51 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 52 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; |
52 | 53 |
53 // Observer for Chrome-specific notifications. | 54 // Observer for Chrome-specific notifications. |
54 ChromeNotificationObserver notification_observer_; | 55 ChromeNotificationObserver notification_observer_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 57 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace extensions | 60 } // namespace extensions |
60 | 61 |
61 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 62 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |