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

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

Issue 131783012: Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary DCHECK Created 6 years, 8 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
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_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 content::BrowserContext* context) const OVERRIDE; 44 content::BrowserContext* context) const OVERRIDE;
45 virtual PrefService* GetPrefServiceForContext( 45 virtual PrefService* GetPrefServiceForContext(
46 content::BrowserContext* context) OVERRIDE; 46 content::BrowserContext* context) OVERRIDE;
47 virtual bool DeferLoadingBackgroundHosts( 47 virtual bool DeferLoadingBackgroundHosts(
48 content::BrowserContext* context) const OVERRIDE; 48 content::BrowserContext* context) const OVERRIDE;
49 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const 49 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const
50 OVERRIDE; 50 OVERRIDE;
51 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() 51 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate()
52 OVERRIDE; 52 OVERRIDE;
53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; 53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
54 virtual void PermitExternalProtocolHandler() OVERRIDE;
55 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; 54 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE;
56 virtual bool IsRunningInForcedAppMode() OVERRIDE; 55 virtual bool IsRunningInForcedAppMode() OVERRIDE;
57 virtual ApiActivityMonitor* GetApiActivityMonitor( 56 virtual ApiActivityMonitor* GetApiActivityMonitor(
58 content::BrowserContext* context) OVERRIDE; 57 content::BrowserContext* context) OVERRIDE;
59 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 58 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
60 virtual void RegisterExtensionFunctions( 59 virtual void RegisterExtensionFunctions(
61 ExtensionFunctionRegistry* registry) const OVERRIDE; 60 ExtensionFunctionRegistry* registry) const OVERRIDE;
62 61
63 private: 62 private:
64 content::BrowserContext* main_context_; // Not owned. 63 content::BrowserContext* main_context_; // Not owned.
65 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 64 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
66 65
67 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 66 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
68 }; 67 };
69 68
70 } // namespace extensions 69 } // namespace extensions
71 70
72 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 71 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/test_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698