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

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

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prevent runtime impl from handling invalid update versions Created 6 years, 7 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() 66 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate()
67 OVERRIDE; 67 OVERRIDE;
68 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; 68 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
69 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; 69 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE;
70 virtual bool IsRunningInForcedAppMode() OVERRIDE; 70 virtual bool IsRunningInForcedAppMode() OVERRIDE;
71 virtual ApiActivityMonitor* GetApiActivityMonitor( 71 virtual ApiActivityMonitor* GetApiActivityMonitor(
72 content::BrowserContext* context) OVERRIDE; 72 content::BrowserContext* context) OVERRIDE;
73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
74 virtual void RegisterExtensionFunctions( 74 virtual void RegisterExtensionFunctions(
75 ExtensionFunctionRegistry* registry) const OVERRIDE; 75 ExtensionFunctionRegistry* registry) const OVERRIDE;
76 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
77 content::BrowserContext* context) const OVERRIDE;
76 78
77 private: 79 private:
78 content::BrowserContext* main_context_; // Not owned. 80 content::BrowserContext* main_context_; // Not owned.
79 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 81 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
80 82
81 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 83 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
82 }; 84 };
83 85
84 } // namespace extensions 86 } // namespace extensions
85 87
86 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 88 #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