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

Side by Side Diff: chrome/browser/extensions/test_extension_system.h

Issue 266963003: Beginning of support for extension content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged latest trunk 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
7 7
8 #include "extensions/browser/extension_system.h" 8 #include "extensions/browser/extension_system.h"
9 #include "extensions/common/one_shot_event.h" 9 #include "extensions/common/one_shot_event.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual InfoMap* info_map() OVERRIDE; 70 virtual InfoMap* info_map() OVERRIDE;
71 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; 71 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE;
72 void SetEventRouter(scoped_ptr<EventRouter> event_router); 72 void SetEventRouter(scoped_ptr<EventRouter> event_router);
73 virtual EventRouter* event_router() OVERRIDE; 73 virtual EventRouter* event_router() OVERRIDE;
74 virtual ExtensionWarningService* warning_service() OVERRIDE; 74 virtual ExtensionWarningService* warning_service() OVERRIDE;
75 virtual Blacklist* blacklist() OVERRIDE; 75 virtual Blacklist* blacklist() OVERRIDE;
76 virtual ErrorConsole* error_console() OVERRIDE; 76 virtual ErrorConsole* error_console() OVERRIDE;
77 virtual InstallVerifier* install_verifier() OVERRIDE; 77 virtual InstallVerifier* install_verifier() OVERRIDE;
78 virtual QuotaService* quota_service() OVERRIDE; 78 virtual QuotaService* quota_service() OVERRIDE;
79 virtual const OneShotEvent& ready() const OVERRIDE; 79 virtual const OneShotEvent& ready() const OVERRIDE;
80 virtual ContentVerifier* content_verifier() OVERRIDE;
80 81
81 void SetReady() { 82 void SetReady() {
82 LOG(INFO) << "SetReady()"; 83 LOG(INFO) << "SetReady()";
83 ready_.Signal(); 84 ready_.Signal();
84 } 85 }
85 86
86 // Factory method for tests to use with SetTestingProfile. 87 // Factory method for tests to use with SetTestingProfile.
87 static KeyedService* Build(content::BrowserContext* profile); 88 static KeyedService* Build(content::BrowserContext* profile);
88 89
89 protected: 90 protected:
(...skipping 14 matching lines...) Expand all
104 scoped_ptr<EventRouter> event_router_; 105 scoped_ptr<EventRouter> event_router_;
105 scoped_ptr<ErrorConsole> error_console_; 106 scoped_ptr<ErrorConsole> error_console_;
106 scoped_ptr<InstallVerifier> install_verifier_; 107 scoped_ptr<InstallVerifier> install_verifier_;
107 scoped_ptr<QuotaService> quota_service_; 108 scoped_ptr<QuotaService> quota_service_;
108 OneShotEvent ready_; 109 OneShotEvent ready_;
109 }; 110 };
110 111
111 } // namespace extensions 112 } // namespace extensions
112 113
113 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 114 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_system_impl.cc ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698