Home
last modified time | relevance | path

Searched refs:event_router_ (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Dprovided_file_system.cc49 event_router_(extensions::EventRouter::Get(profile)), // May be NULL. in ProvidedFileSystem()
69 new operations::Unmount(event_router_, file_system_info_, callback))); in RequestUnmount()
86 event_router_, file_system_info_, entry_path, fields, callback))); in GetMetadata()
104 event_router_, file_system_info_, directory_path, callback))); in ReadDirectory()
127 new operations::ReadFile(event_router_, in ReadFile()
152 event_router_, file_system_info_, file_path, mode, callback))); in OpenFile()
168 event_router_, file_system_info_, file_handle, callback))); in CloseFile()
185 new operations::CreateDirectory(event_router_, in CreateDirectory()
206 event_router_, file_system_info_, entry_path, recursive, callback))); in DeleteEntry()
222 event_router_, file_system_info_, file_path, callback))); in CreateFile()
[all …]
Dprovided_file_system_unittest.cc84 event_router_.reset(new FakeEventRouter(profile_.get())); in SetUp()
85 event_router_->AddEventListener( in SetUp()
95 new ProvidedFileSystem(event_router_.get(), *file_system_info_.get())); in SetUp()
100 scoped_ptr<FakeEventRouter> event_router_; member in chromeos::file_system_provider::FileSystemProviderProvidedFileSystemTest
113 EXPECT_EQ(kExtensionId, event_router_->extension_id()); in TEST_F()
114 const extensions::Event* event = event_router_->event(); in TEST_F()
152 EXPECT_EQ(kExtensionId, event_router_->extension_id()); in TEST_F()
153 const extensions::Event* event = event_router_->event(); in TEST_F()
Dprovided_file_system.h104 extensions::EventRouter* event_router_; // Not owned. May be NULL. variable
/external/chromium_org/extensions/browser/api/storage/
Dsettings_test_util.cc137 if (!event_router_.get()) in event_router()
138 event_router_.reset(new EventRouter(browser_context(), NULL)); in event_router()
139 return event_router_.get(); in event_router()
Dsettings_test_util.h72 scoped_ptr<EventRouter> event_router_;
/external/chromium_org/extensions/browser/api/bluetooth/
Dbluetooth_api.cc76 if (!event_router_) { in event_router()
77 event_router_.reset(new BluetoothEventRouter(browser_context_)); in event_router()
79 return event_router_.get(); in event_router()
Dbluetooth_api.h64 scoped_ptr<BluetoothEventRouter> event_router_; variable
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
Dpush_messaging_api.cc314 event_router_.reset(); in Shutdown()
334 if (!event_router_) in InitEventRouterAndHandler()
335 event_router_.reset(new PushMessagingEventRouter(browser_context_)); in InitEventRouterAndHandler()
339 event_router_.get())); in InitEventRouterAndHandler()
Dpush_messaging_api.h126 return event_router_.get(); in GetEventRouterForTest()
161 scoped_ptr<PushMessagingEventRouter> event_router_; variable
/external/chromium_org/chrome/browser/net/
Dchrome_extensions_network_delegate.cc120 scoped_refptr<extensions::EventRouterForwarder> event_router_; member in __anonf23c023c0111::ChromeExtensionsNetworkDelegateImpl
128 event_router_ = event_router; in ChromeExtensionsNetworkDelegateImpl()
141 event_router_.get(), profile_, request->status().error()); in ForwardProxyErrors()
244 event_router_.get(), profile_, line_number, error); in OnPACScriptError()
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Doperation_manager_unittest.cc85 event_router_ = static_cast<FakeEventRouter*>( in SetUp()
99 FakeEventRouter* event_router_; member in extensions::image_writer::__anon68332c500111::ImageWriterOperationManagerTest
/external/chromium_org/extensions/shell/browser/
Dshell_extension_system.cc96 event_router_.reset( in InitForRegularProfile()
141 return event_router_.get(); in event_router()
Dshell_extension_system.h95 scoped_ptr<EventRouter> event_router_; variable
/external/chromium_org/chrome/browser/extensions/
Dtest_extension_system.cc159 event_router_.reset(event_router.release()); in SetEventRouter()
162 EventRouter* TestExtensionSystem::event_router() { return event_router_.get(); } in event_router()
Dtest_extension_system.h111 scoped_ptr<EventRouter> event_router_; variable
Dextension_system_impl.h124 scoped_ptr<EventRouter> event_router_; variable
Dextension_system_impl.cc109 event_router_.reset(new EventRouter(profile_, ExtensionPrefs::Get(profile_))); in InitPrefs()
462 return event_router_.get(); in event_router()
/external/chromium_org/extensions/browser/api/bluetooth_low_energy/
Dbluetooth_low_energy_api.h34 return event_router_.get(); in event_router()
45 scoped_ptr<BluetoothLowEnergyEventRouter> event_router_; variable
Dbluetooth_low_energy_api.cc97 : event_router_(new BluetoothLowEnergyEventRouter(context)), in BluetoothLowEnergyAPI()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_manager.cc104 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router_; member in extensions::GalleryWatchManager::GalleryFilePathWatcher
133 : event_router_(event_router), in GalleryFilePathWatcher()
216 base::Bind(SendGalleryChangedEventOnUIThread, event_router_, in OnFilePathChanged()
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
Dbookmark_manager_private_api.h85 scoped_ptr<BookmarkManagerPrivateEventRouter> event_router_; variable
Dbookmark_manager_private_api.cc272 event_router_.reset(new BookmarkManagerPrivateEventRouter( in OnListenerAdded()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api_unittest.cc180 event_router_(new EventRouterForwarder) {} in ExtensionWebRequestTest()
188 new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_)); in SetUp()
210 scoped_refptr<EventRouterForwarder> event_router_; member in extensions::ExtensionWebRequestTest
778 event_router_(new EventRouterForwarder) {} in ExtensionWebRequestHeaderModificationTest()
786 new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_)); in SetUp()
804 scoped_refptr<EventRouterForwarder> event_router_; member in extensions::ExtensionWebRequestHeaderModificationTest