/external/chromium_org/content/browser/indexed_db/ |
indexed_db_connection.cc | 12 : database_(database), callbacks_(callbacks) {} 17 if (!callbacks_) 21 callbacks_ = NULL; 25 if (!callbacks_) 29 callbacks_->OnForcedClose(); 30 callbacks_ = NULL;
|
indexed_db_connection.h | 28 IndexedDBDatabaseCallbacks* callbacks() { return callbacks_; } 34 // The callbacks_ member is cleared when the connection is closed. 36 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks_; member in class:content::IndexedDBConnection
|
/external/chromium_org/components/policy/core/common/cloud/ |
rate_limiter_unittest.cc | 21 callbacks_(0), 34 callbacks_++; 39 size_t callbacks_; member in class:policy::RateLimiterTest 49 EXPECT_EQ(count, callbacks_); 52 EXPECT_EQ(count, callbacks_); 59 EXPECT_EQ(max_requests_, callbacks_); 65 callbacks_ = 0; 68 EXPECT_EQ(1u, callbacks_); 76 EXPECT_EQ(count, callbacks_); 79 EXPECT_EQ(count, callbacks_); [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_bridge_unittest.mm | 29 scoped_nsobject<NSMutableArray> callbacks_; 41 callbacks_.reset([[NSMutableArray alloc] init]); 47 [callbacks_ addObject:[NSNumber numberWithInt:0]]; 51 [callbacks_ addObject:[NSNumber numberWithInt:1]]; 57 [callbacks_ addObject:[NSNumber numberWithInt:2]]; 62 [callbacks_ addObject:[NSNumber numberWithInt:3]]; 67 [callbacks_ addObject:[NSNumber numberWithInt:4]]; 72 [callbacks_ addObject:[NSNumber numberWithInt:5]]; 77 [callbacks_ addObject:[NSNumber numberWithInt:6]]; 82 [callbacks_ addObject:[NSNumber numberWithInt:7]] [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_bridge_unittest.mm | 31 base::scoped_nsobject<NSMutableArray> callbacks_; 43 callbacks_.reset([[NSMutableArray alloc] init]); 49 [callbacks_ addObject:[NSNumber numberWithInt:0]]; 53 [callbacks_ addObject:[NSNumber numberWithInt:1]]; 59 [callbacks_ addObject:[NSNumber numberWithInt:2]]; 64 [callbacks_ addObject:[NSNumber numberWithInt:3]]; 69 [callbacks_ addObject:[NSNumber numberWithInt:4]]; 74 [callbacks_ addObject:[NSNumber numberWithInt:5]]; 79 [callbacks_ addObject:[NSNumber numberWithInt:6]]; 84 [callbacks_ addObject:[NSNumber numberWithInt:7]] [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_info/ |
system_info_provider.cc | 31 callbacks_.push(callback); 45 while (!callbacks_.empty()) { 46 QueryInfoCompletionCallback callback = callbacks_.front(); 48 callbacks_.pop();
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fake_profile_store.cc | 18 CallbacksByPath::iterator it = callbacks_.find(profile->GetPath()); 19 if (it != callbacks_.end()) { 21 callbacks_.erase(it); 47 callbacks_[path] = callback;
|
/external/chromium_org/remoting/base/ |
breakpad_win_unittest.cc | 78 scoped_ptr<MockCrashServerCallbacks> callbacks_; member in class:remoting::BreakpadWinDeathTest 122 callbacks_.reset(new MockCrashServerCallbacks()); 130 callbacks_.get(), 142 if (callbacks_.get()) { 143 EXPECT_CALL(*callbacks_, OnClientDumpRequested()); 151 if (callbacks_.get()) { 152 EXPECT_CALL(*callbacks_, OnClientDumpRequested()); 160 if (callbacks_.get()) { 161 EXPECT_CALL(*callbacks_, OnClientDumpRequested());
|
/external/chromium_org/content/browser/geolocation/ |
geolocation_provider_impl.cc | 51 CallbackList::iterator i = callbacks_.begin(); 52 for (; i != callbacks_.end(); ++i) { 60 callbacks_.push_back(std::make_pair(callback, use_high_accuracy)); 73 CallbackList::iterator i = callbacks_.begin(); 74 for (; i != callbacks_.end(); ++i) { 76 callbacks_.erase(i); 133 DCHECK(callbacks_.empty()); 145 if (callbacks_.empty()) { 160 CallbackList::iterator i = callbacks_.begin(); 161 for (; i != callbacks_.end(); ++i) [all...] |
wifi_data_provider.cc | 74 callbacks_.insert(callback); 79 return callbacks_.erase(callback) == 1; 83 return !callbacks_.empty(); 103 CallbackSet::const_iterator iter = callbacks_.begin(); 104 while (iter != callbacks_.end()) {
|
/external/chromium_org/base/ |
callback_list.h.pump | 100 list_->callbacks_.erase(iter_); 116 new Subscription(this, callbacks_.insert(callbacks_.end(), cb))); 125 list_iter_(list_->callbacks_.begin()) { 142 while ((list_iter_ != list_->callbacks_.end()) && list_iter_->is_null()) 146 if (list_iter_ != list_->callbacks_.end()) { 162 DCHECK_EQ(0U, callbacks_.size()); 174 typename std::list<CallbackType>::iterator it = callbacks_.begin(); 175 while (it != callbacks_.end()) { 177 it = callbacks_.erase(it) [all...] |
callback_list.h | 95 list_->callbacks_.erase(iter_); 111 new Subscription(this, callbacks_.insert(callbacks_.end(), cb))); 120 list_iter_(list_->callbacks_.begin()) { 137 while ((list_iter_ != list_->callbacks_.end()) && list_iter_->is_null()) 141 if (list_iter_ != list_->callbacks_.end()) { 157 DCHECK_EQ(0U, callbacks_.size()); 169 typename std::list<CallbackType>::iterator it = callbacks_.begin(); 170 while (it != callbacks_.end()) { 172 it = callbacks_.erase(it) 179 std::list<CallbackType> callbacks_; member in class:base::internal::CallbackListBase [all...] |
/external/chromium_org/webkit/browser/quota/ |
quota_callbacks.h | 49 callbacks_.push_back(callback); 50 return (callbacks_.size() == 1); 54 return !callbacks_.empty(); 60 for (iterator iter = callbacks_.begin(); 61 iter != callbacks_.end(); ++iter) 63 callbacks_.clear(); 67 std::vector<CallbackType> callbacks_; member in class:quota::CallbackQueue
|
/external/chromium_org/media/base/ |
pipeline_unittest.cc | 130 EXPECT_CALL(callbacks_, OnStop()); 132 base::Unretained(&callbacks_))); 141 EXPECT_CALL(callbacks_, OnDurationChange()); 203 EXPECT_CALL(callbacks_, OnStart(start_status)); 206 EXPECT_CALL(callbacks_, OnBufferingState(Pipeline::kHaveMetadata)); 218 EXPECT_CALL(callbacks_, OnBufferingState(Pipeline::kPrerollCompleted)); 223 base::Bind(&CallbackHelper::OnEnded, base::Unretained(&callbacks_)), 224 base::Bind(&CallbackHelper::OnError, base::Unretained(&callbacks_)), 225 base::Bind(&CallbackHelper::OnStart, base::Unretained(&callbacks_)), 227 base::Unretained(&callbacks_)), 327 StrictMock<CallbackHelper> callbacks_; member in class:media::PipelineTest [all...] |
/external/chromium_org/media/audio/ |
audio_output_resampler.cc | 165 DCHECK(callbacks_.empty()); 170 DCHECK(callbacks_.empty()); 193 streams_opened_ || !callbacks_.empty()) { 239 CallbackMap::iterator it = callbacks_.find(stream_proxy); 240 if (it == callbacks_.end()) { 242 callbacks_[stream_proxy] = resampler_callback; 267 CallbackMap::iterator it = callbacks_.find(stream_proxy); 268 if (it != callbacks_.end()) 278 CallbackMap::iterator it = callbacks_.find(stream_proxy); 279 if (it != callbacks_.end()) [all...] |
simple_sources.h | 38 int callbacks() { return callbacks_; } 46 int callbacks_; member in class:media::SineWaveAudioSource
|
simple_sources.cc | 25 callbacks_(0), 34 callbacks_++;
|
/external/chromium_org/content/child/ |
quota_dispatcher.cc | 38 : callbacks_(callback) { 39 DCHECK(callbacks_); 43 callbacks_->didQueryStorageUsageAndQuota(usage, quota); 46 callbacks_->didGrantStorageQuota(granted_quota); 49 callbacks_->didFail(static_cast<WebStorageQuotaError>(error)); 54 blink::WebStorageQuotaCallbacks* callbacks_; member in class:content::__anon8000::WebStorageQuotaDispatcherCallback
|
/external/chromium_org/content/renderer/pepper/ |
pepper_device_enumeration_host_helper_unittest.cc | 33 CHECK(callbacks_.empty()); 41 callbacks_[last_used_id_] = callback; 47 callbacks_.find(request_id); 48 CHECK(iter != callbacks_.end()); 49 callbacks_.erase(iter); 57 callbacks_.find(request_id); 58 if (iter == callbacks_.end()) 65 size_t GetRegisteredCallbackCount() const { return callbacks_.size(); } 70 std::map<int, EnumerateDevicesCallback> callbacks_; member in class:content::__anon8213::TestDelegate
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
promise.js | 28 this.callbacks_ = []; 54 for (var i = 0; i < this.callbacks_.length; i++) { 55 this.callbacks_[i].call(null, value); 57 this.callbacks_.length = 0; 79 this.callbacks_.push(fun); 87 var i = this.callbacks_.indexOf(fun); 89 this.callbacks_.splice(i, 1);
|
/external/chromium_org/ui/webui/resources/js/cr/ |
promise.js | 29 this.callbacks_ = []; 55 for (var i = 0; i < this.callbacks_.length; i++) { 56 this.callbacks_[i].call(null, value); 58 this.callbacks_.length = 0; 80 this.callbacks_.push(fun); 88 var i = this.callbacks_.indexOf(fun); 90 this.callbacks_.splice(i, 1);
|
/external/chromium_org/content/browser/devtools/ |
devtools_manager_impl.cc | 174 callbacks_.push_back(&callback); 179 std::find(callbacks_.begin(), callbacks_.end(), &callback); 180 DCHECK(it != callbacks_.end()); 181 callbacks_.erase(it); 186 CallbackContainer copy(callbacks_);
|
/external/chromium_org/content/browser/ |
plugin_loader_posix.cc | 29 callbacks_.push_back(PendingCallback(target_loop, callback)); 31 if (callbacks_.size() == 1) { 170 if (!callbacks_.empty()) { 171 PendingCallback callback = callbacks_.front(); 172 callbacks_.pop_front(); 183 if (!callbacks_.empty()) {
|
/external/chromium_org/content/browser/media/ |
webrtc_identity_store.cc | 87 if (callbacks_.find(handle) == callbacks_.end()) 89 callbacks_.erase(handle); 97 DCHECK(callbacks_.find(handle) == callbacks_.end()); 98 callbacks_[handle] = callback; 108 for (CallbackMap::iterator it = callbacks_.begin(); it != callbacks_.end(); 119 CallbackMap callbacks_; member in class:content::WebRTCIdentityRequest
|
/external/chromium_org/ppapi/proxy/ |
plugin_resource.cc | 48 CallbackMap::iterator it = callbacks_.find(params.sequence()); 49 if (it == callbacks_.end()) { 53 callbacks_.erase(it); 66 callbacks_.clear(); 79 callbacks_.clear();
|