Home
last modified time | relevance | path

Searched refs:notifier_ (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/net/quic/
Dquic_ack_notifier_test.cc18 notifier_.reset(new QuicAckNotifier(&delegate_)); in SetUp()
23 notifier_->AddSequenceNumbers(sequence_numbers_); in SetUp()
28 scoped_ptr<QuicAckNotifier> notifier_; member in net::test::__anone548d49e0111::QuicAckNotifierTest
34 EXPECT_FALSE(notifier_->OnAck(26)); in TEST_F()
35 EXPECT_FALSE(notifier_->OnAck(99)); in TEST_F()
36 EXPECT_TRUE(notifier_->OnAck(1234)); in TEST_F()
43 EXPECT_FALSE(notifier_->OnAck(26)); in TEST_F()
44 EXPECT_FALSE(notifier_->OnAck(99)); in TEST_F()
51 notifier_->UpdateSequenceNumber(99, 3000); in TEST_F()
52 notifier_->UpdateSequenceNumber(1234, 3001); in TEST_F()
[all …]
/external/chromium_org/chromeos/network/
Dnetwork_change_notifier_chromeos_unittest.cc110 notifier_.connection_type_ = notifier_state.type; in SetNotifierState()
111 notifier_.service_path_ = notifier_state.service_path; in SetNotifierState()
112 notifier_.ip_address_ = notifier_state.ip_address; in SetNotifierState()
115 notifier_.dns_servers_ = dns_servers; in SetNotifierState()
119 EXPECT_EQ(notifier_state.type, notifier_.connection_type_); in VerifyNotifierState()
120 EXPECT_EQ(notifier_state.service_path, notifier_.service_path_); in VerifyNotifierState()
121 EXPECT_EQ(notifier_state.ip_address, notifier_.ip_address_); in VerifyNotifierState()
124 EXPECT_EQ(dns_servers, notifier_.dns_servers_); in VerifyNotifierState()
148 notifier_.UpdateState(&default_network_, type_changed, ip_changed, in ProcessDefaultNetworkUpdate()
154 NetworkChangeNotifierChromeos notifier_; member in chromeos::NetworkChangeNotifierChromeosUpdateTest
/external/chromium_org/chrome/browser/web_resource/
Deula_accepted_notifier_unittest.cc22 notifier_.reset(new EulaAcceptedNotifier(&local_state_)); in SetUp()
23 notifier_->Init(this); in SetUp()
37 return notifier_.get(); in notifier()
46 scoped_ptr<EulaAcceptedNotifier> notifier_; member in EulaAcceptedNotifierTest
/external/chromium/chrome/browser/policy/
Dcloud_policy_subsystem.cc56 notifier_.reset(new PolicyNotifier()); in CloudPolicySubsystem()
62 cloud_policy_cache_->set_policy_notifier(notifier_.get()); in CloudPolicySubsystem()
68 notifier_.get())); in CloudPolicySubsystem()
75 notifier_.get())); in CloudPolicySubsystem()
118 return notifier_->state(); in state()
122 return notifier_->error_details(); in error_details()
Ddevice_token_fetcher.cc165 notifier_ = notifier; in Initialize()
188 notifier_->Inform(CloudPolicySubsystem::UNENROLLED, in SetState()
194 notifier_->Inform(CloudPolicySubsystem::SUCCESS, in SetState()
201 notifier_->Inform(CloudPolicySubsystem::UNMANAGED, in SetState()
212 notifier_->Inform(CloudPolicySubsystem::NETWORK_ERROR, in SetState()
221 notifier_->Inform(CloudPolicySubsystem::NETWORK_ERROR, in SetState()
227 notifier_->Inform(CloudPolicySubsystem::BAD_GAIA_TOKEN, in SetState()
Ddevice_token_fetcher_unittest.cc63 PolicyNotifier notifier_; member in policy::DeviceTokenFetcherTest
75 DeviceTokenFetcher fetcher(&service_, cache_.get(), &notifier_); in TEST_F()
109 DeviceTokenFetcher fetcher(&service_, cache_.get(), &notifier_, 0, 0, 0); in TEST_F()
127 DeviceTokenFetcher fetcher(&service_, cache_.get(), &notifier_); in TEST_F()
Dcloud_policy_controller.cc212 notifier_ = notifier; in Initialize()
314 notifier_->Inform(CloudPolicySubsystem::UNMANAGED, in SetState()
335 notifier_->Inform(CloudPolicySubsystem::SUCCESS, in SetState()
340 notifier_->Inform(CloudPolicySubsystem::NETWORK_ERROR, in SetState()
346 notifier_->Inform(CloudPolicySubsystem::NETWORK_ERROR, in SetState()
360 notifier_->Inform(CloudPolicySubsystem::NETWORK_ERROR, in SetState()
Dcloud_policy_cache_base.cc58 : notifier_(NULL), in CloudPolicyCacheBase()
183 if (notifier_) in InformNotifier()
184 notifier_->Inform(state, error_details, PolicyNotifier::POLICY_CACHE); in InformNotifier()
Dcloud_policy_subsystem.h110 return notifier_.get(); in notifier()
125 scoped_ptr<PolicyNotifier> notifier_; variable
Dcloud_policy_cache_base.h43 notifier_ = notifier; in set_policy_notifier()
129 PolicyNotifier* notifier_; variable
Dcloud_policy_controller_unittest.cc100 &notifier_)); in CreateNewController()
109 &notifier_, in CreateNewController()
159 PolicyNotifier notifier_; member in policy::CloudPolicyControllerTest
/external/chromium_org/net/cert/
Dcert_database_mac.cc115 if (notifier_.get()) in SetMessageLoopForKeychainEvents()
116 notifier_.release()->Shutdown(); in SetMessageLoopForKeychainEvents()
118 notifier_.reset(new Notifier(this, base::MessageLoopForUI::current())); in SetMessageLoopForKeychainEvents()
127 if (notifier_.get()) in ~CertDatabase()
128 notifier_.release()->Shutdown(); in ~CertDatabase()
Dcert_database.h104 scoped_ptr<Notifier> notifier_;
/external/chromium_org/chrome/browser/download/
Dall_download_item_notifier_unittest.cc52 return notifier_.get(); in NotifierAsItemObserver()
56 return notifier_.get(); in NotifierAsManagerObserver()
63 notifier_.reset(new AllDownloadItemNotifier( in SetNotifier()
68 notifier_.reset(); in ClearNotifier()
74 scoped_ptr<AllDownloadItemNotifier> notifier_; member in __anon93dd8a6c0111::AllDownloadItemNotifierTest
Ddownload_history.cc192 : notifier_(manager, this), in DownloadHistory()
199 notifier_.GetManager()->GetAllDownloads(&items); in DownloadHistory()
202 OnDownloadCreated(notifier_.GetManager(), *it); in DownloadHistory()
227 if (!notifier_.GetManager()) in QueryCallback()
232 content::DownloadItem* item = notifier_.GetManager()->CreateDownloadItem( in QueryCallback()
258 notifier_.GetManager()->CheckForHistoryFilesRemoval(); in QueryCallback()
299 if (!notifier_.GetManager()) in ItemAdded()
302 content::DownloadItem* item = notifier_.GetManager()->GetDownload( in ItemAdded()
335 OnDownloadUpdated(notifier_.GetManager(), item); in ItemAdded()
365 OnDownloadRemoved(notifier_.GetManager(), item); in OnDownloadUpdated()
/external/chromium_org/win8/metro_driver/
Dtoast_notification_handler.cc129 if (notifier_ && notification_) in ~ToastNotificationHandler()
137 DCHECK(notifier_.Get() == NULL); in DisplayNotification()
216 &notifier_); in DisplayNotification()
225 hr = notifier_->Show(notification_.Get()); in DisplayNotification()
232 DCHECK(notifier_); in CancelNotification()
235 notifier_->Hide(notification_.Get()); in CancelNotification()
Dtoast_notification_handler.h49 mswr::ComPtr<winui::Notifications::IToastNotifier> notifier_;
/external/chromium_org/chrome/browser/notifications/sync_notifier/
Dchrome_notifier_delegate_unittest.cc76 notifier_.reset(new StubChromeNotifierService(profile())); in SetUp()
80 notifier_.reset(); in TearDown()
85 StubChromeNotifierService* notifier() { return notifier_.get(); } in notifier()
88 scoped_ptr<StubChromeNotifierService> notifier_; member in ChromeNotifierDelegateTest
/external/chromium_org/ui/message_center/views/
Dnotifier_settings_view.cc295 notifier_(notifier), in NotifierButton()
297 name_view_(new views::Label(notifier_->name)), in NotifierButton()
307 checkbox_->SetChecked(notifier_->enabled); in NotifierButton()
310 checkbox_->SetAccessibleName(notifier_->name); in NotifierButton()
345 UpdateIconImage(notifier_->icon); in NotifierButton()
355 notifier_->icon = icon; in UpdateIconImage()
367 notifier_->enabled = checked; in SetChecked()
379 return *notifier_.get(); in notifier()
402 provider_->OnNotifierAdvancedSettingsRequested(notifier_->notifier_id, in ButtonPressed()
416 return provider_->NotifierHasAdvancedSettings(notifier_->notifier_id); in ShouldHaveLearnMoreButton()
/external/chromium_org/net/android/
Dnetwork_change_notifier_android_unittest.cc174 NetworkChangeNotifierAndroidTest() : notifier_(&delegate_) { in NetworkChangeNotifierAndroidTest()
184 NetworkChangeNotifierAndroid notifier_; member in net::NetworkChangeNotifierAndroidTest
199 base::Unretained(&notifier_))); in TEST_F()
/external/chromium_org/ui/message_center/cocoa/
Dsettings_entry_view.mm149 notifier_ = notifier;
168 [controller_ notifierHasAdvancedSettings:notifier_->notifier_id];
228 initTextCell:base::SysUTF16ToNSString(notifier_->name)]);
234 [checkbox_ setState:notifier_->enabled ? NSOnState : NSOffState];
258 [controller_ setSettingsNotifier:notifier_ enabled:enabled];
262 [controller_ learnMoreClicked:notifier_];
Dsettings_entry_view.h25 message_center::Notifier* notifier_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Ddownload_handler.cc130 notifier_.reset(new AllDownloadItemNotifier(download_manager, this)); in Initialize()
223 DownloadManager* manager = notifier_->GetManager(); in RemoveDownload()
304 DownloadManager* manager = notifier_->GetManager(); in SetCacheFilePath()
Ddownload_handler.h95 scoped_ptr<AllDownloadItemNotifier> notifier_; variable
/external/chromium_org/content/browser/devtools/
Ddevtools_protocol.cc173 notifier_ = notifier; in SetNotifier()
199 if (!notifier_.is_null()) in SendRawMessage()
200 notifier_.Run(message); in SendRawMessage()

12