extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context));
}
- virtual void OnExtensionLoaded(content::BrowserContext* browser_context,
- const Extension* extension) OVERRIDE {
+ void OnExtensionLoaded(content::BrowserContext* browser_context,
+ const Extension* extension) override {
callback_.Run(extension);
}
class FileSystemApiTest : public PlatformAppBrowserTest {
public:
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ void SetUpCommandLine(CommandLine* command_line) override {
PlatformAppBrowserTest::SetUpCommandLine(command_line);
test_root_folder_ = test_data_dir_.AppendASCII("api_test")
.AppendASCII("file_system");
"test_root", test_root_folder_);
}
- virtual void SetUpOnMainThread() OVERRIDE {
- ClearCommandLineArgs();
- }
+ void SetUpOnMainThread() override { ClearCommandLineArgs(); }
- virtual void TearDown() OVERRIDE {
+ void TearDown() override {
FileSystemChooseEntryFunction::StopSkippingPickerForTest();
PlatformAppBrowserTest::TearDown();
};