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

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

Issue 220353002: Remove //chrome dependency from ExtensionPrefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 54 virtual void PermitExternalProtocolHandler() OVERRIDE;
55 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; 55 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE;
56 virtual bool IsRunningInForcedAppMode() OVERRIDE; 56 virtual bool IsRunningInForcedAppMode() OVERRIDE;
57 virtual ApiActivityMonitor* GetApiActivityMonitor( 57 virtual ApiActivityMonitor* GetApiActivityMonitor(
58 content::BrowserContext* context) OVERRIDE; 58 content::BrowserContext* context) OVERRIDE;
59 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 59 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
60 virtual void RegisterExtensionFunctions( 60 virtual void RegisterExtensionFunctions(
61 ExtensionFunctionRegistry* registry) const OVERRIDE; 61 ExtensionFunctionRegistry* registry) const OVERRIDE;
62 virtual void AddExtensionPrefsObservers(content::BrowserContext* context,
63 ExtensionPrefs* prefs) const OVERRIDE;
62 64
63 private: 65 private:
64 content::BrowserContext* main_context_; // Not owned. 66 content::BrowserContext* main_context_; // Not owned.
65 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 67 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
66 68
67 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 69 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
68 }; 70 };
69 71
70 } // namespace extensions 72 } // namespace extensions
71 73
72 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 74 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698