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

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

Issue 317993003: Send an onInstalled event for shared module update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual ContentVerifier* content_verifier() OVERRIDE;
81 virtual scoped_ptr<ExtensionSet> GetDependentExtensions(
82 const Extension* extension) OVERRIDE;
81 83
82 void SetReady() { 84 void SetReady() {
83 LOG(INFO) << "SetReady()"; 85 LOG(INFO) << "SetReady()";
84 ready_.Signal(); 86 ready_.Signal();
85 } 87 }
86 88
87 // Factory method for tests to use with SetTestingProfile. 89 // Factory method for tests to use with SetTestingProfile.
88 static KeyedService* Build(content::BrowserContext* profile); 90 static KeyedService* Build(content::BrowserContext* profile);
89 91
90 protected: 92 protected:
(...skipping 14 matching lines...) Expand all
105 scoped_ptr<EventRouter> event_router_; 107 scoped_ptr<EventRouter> event_router_;
106 scoped_ptr<ErrorConsole> error_console_; 108 scoped_ptr<ErrorConsole> error_console_;
107 scoped_ptr<InstallVerifier> install_verifier_; 109 scoped_ptr<InstallVerifier> install_verifier_;
108 scoped_ptr<QuotaService> quota_service_; 110 scoped_ptr<QuotaService> quota_service_;
109 OneShotEvent ready_; 111 OneShotEvent ready_;
110 }; 112 };
111 113
112 } // namespace extensions 114 } // namespace extensions
113 115
114 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 116 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/shared_module_service.cc ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698