Home
last modified time | relevance | path

Searched refs:backend_ (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium/chrome/browser/history/
Dhistory_backend_unittest.cc77 scoped_refptr<HistoryBackend> backend_; // Will be NULL on init failure. member in history::HistoryBackendTest
92 backend_->AddPage(request); in AddRedirectChain()
113 backend_->AddPage(request); in AddClientRedirect()
123 URLID id = backend_->db()->GetRowForURL(url, &row); in getTransition()
125 EXPECT_TRUE(backend_->db()->GetVisitsForURL(id, &visits)); in getTransition()
135 if (backend_->thumbnail_db_->GetIconMappingForPageURL(url, icon_type, in GetFavicon()
155 backend_ = new HistoryBackend(test_dir_, in SetUp()
158 backend_->Init(std::string(), false); in SetUp()
161 if (backend_.get()) in TearDown()
162 backend_->Closing(); in TearDown()
[all …]
/external/chromium/chrome/browser/sync/
Djs_event_handler_list.cc20 JsEventHandlerList::JsEventHandlerList() : backend_(NULL) {} in JsEventHandlerList()
31 if (backend_) { in AddHandler()
32 backend_->SetParentJsEventRouter(this); in AddHandler()
38 if (backend_ && handlers_.size() == 0) { in RemoveHandler()
39 backend_->RemoveParentJsEventRouter(); in RemoveHandler()
44 DCHECK(!backend_); in SetBackend()
46 backend_ = backend; in SetBackend()
49 backend_->SetParentJsEventRouter(this); in SetBackend()
56 backend_->ProcessMessage(it->name, it->args, it->sender); in SetBackend()
62 if (backend_) { in RemoveBackend()
[all …]
Dprofile_sync_service.cc305 if (!backend_.get()) { in InitializeBackend()
320 backend_->Initialize(this, in InitializeBackend()
329 backend_.reset(new SyncBackendHost(profile_)); in CreateBackend()
338 if (backend_.get()) { in StartUp()
376 scoped_ptr<SyncBackendHost> doomed_backend(backend_.release()); in Shutdown()
396 backend_->RequestClearServerData(); in ClearServerData()
501 js_event_handlers_.SetBackend(backend_->GetJsBackend()); in OnBackendInitialized()
555 UpdateAuthErrorState(backend_->GetAuthError()); in OnAuthError()
600 DCHECK(backend_.get()); in OnPassphraseRequired()
601 DCHECK(backend_->IsNigoriEnabled()); in OnPassphraseRequired()
[all …]
/external/chromium/chrome/browser/password_manager/
Dpassword_store_x.cc24 backend_(backend), migration_checked_(!backend), allow_fallback_(false) { in PasswordStoreX()
32 if (use_native_backend() && backend_->AddLogin(form)) { in AddLoginImpl()
47 if (use_native_backend() && backend_->UpdateLogin(form)) { in UpdateLoginImpl()
62 if (use_native_backend() && backend_->RemoveLogin(form)) { in RemoveLoginImpl()
81 backend_->GetLoginsCreatedBetween(delete_begin, delete_end, &forms) && in RemoveLoginsCreatedBetweenImpl()
82 backend_->RemoveLoginsCreatedBetween(delete_begin, delete_end)) { in RemoveLoginsCreatedBetweenImpl()
104 if (use_native_backend() && backend_->GetLogins(form, &request->value)) { in GetLoginsImpl()
118 backend_->GetAutofillableLogins(&request->value)) { in GetAutofillableLoginsImpl()
132 backend_->GetBlacklistLogins(&request->value)) { in GetBlacklistLoginsImpl()
145 if (use_native_backend() && backend_->GetAutofillableLogins(forms)) { in FillAutofillableLogins()
[all …]
/external/chromium/net/disk_cache/
Din_flight_backend_io.cc18 : BackgroundIO(controller), backend_(backend), callback_(callback), in BackendIO()
191 result_ = backend_->SyncInit(); in ExecuteBackendOperation()
194 result_ = backend_->SyncOpenEntry(key_, entry_ptr_); in ExecuteBackendOperation()
197 result_ = backend_->SyncCreateEntry(key_, entry_ptr_); in ExecuteBackendOperation()
200 result_ = backend_->SyncDoomEntry(key_); in ExecuteBackendOperation()
203 result_ = backend_->SyncDoomAllEntries(); in ExecuteBackendOperation()
206 result_ = backend_->SyncDoomEntriesBetween(initial_time_, end_time_); in ExecuteBackendOperation()
209 result_ = backend_->SyncDoomEntriesSince(initial_time_); in ExecuteBackendOperation()
212 result_ = backend_->SyncOpenNextEntry(iter_ptr_, entry_ptr_); in ExecuteBackendOperation()
215 result_ = backend_->SyncOpenPrevEntry(iter_ptr_, entry_ptr_); in ExecuteBackendOperation()
[all …]
Dentry_impl.cc94 : backend_(backend->GetWeakPtr()), offset_(0), grow_allowed_(true) { in UserBuffer()
98 if (backend_) in ~UserBuffer()
99 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()
132 base::WeakPtr<BackendImpl> backend_; member in disk_cache::EntryImpl::UserBuffer
255 if (backend_) in Reset()
256 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()
275 if (!backend_) in GrowBuffer()
282 grow_allowed_ = backend_->IsAllocAllowed(current_size, required); in GrowBuffer()
295 : entry_(NULL, Addr(0)), node_(NULL, Addr(0)), backend_(backend), in EntryImpl()
307 SetPointerForInvalidEntry(backend_->GetCurrentEntryId()); in DoomImpl()
[all …]
Deviction.cc64 : backend_(NULL), in Eviction()
75 backend_ = backend; in Init()
77 header_ = &backend_->data_->header; in Init()
78 max_size_ = LowWaterAdjust(backend_->max_size_); in Init()
103 if (backend_->disabled_ || trimming_) in TrimCache()
125 if (node->Data()->dirty != backend_->GetCurrentEntryId() || empty) { in TrimCache()
133 backend_->OnEvent(Stats::TRIM_ENTRY); in TrimCache()
149 CACHE_UMA(AGE_MS, "TotalTrimTimeV1", backend_->GetSizeGroup(), start); in TrimCache()
209 if (trim_delays_ < kMaxDelayedTrims && backend_->IsLoaded()) in DelayedTrim()
216 if (trim_delays_ < kMaxDelayedTrims && backend_->IsLoaded()) in ShouldTrim()
[all …]
Drankings.cc208 backend_ = backend; in Init()
209 control_data_ = backend_->GetLruData(); in Init()
237 CacheRankingsBlock head(backend_->File(my_head), my_head); in Insert()
244 backend_->CriticalError(ERR_INVALID_LINKS); in Insert()
316 CacheRankingsBlock next(backend_->File(next_addr), next_addr); in Remove()
317 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); in Remove()
400 next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head)); in GetNext()
412 next.reset(new CacheRankingsBlock(backend_->File(address), address)); in GetNext()
433 prev.reset(new CacheRankingsBlock(backend_->File(my_tail), my_tail)); in GetPrev()
445 prev.reset(new CacheRankingsBlock(backend_->File(address), address)); in GetPrev()
[all …]
Dmem_entry_impl.cc50 backend_ = backend; in MemEntryImpl()
74 backend_->ModifyStorageSize(0, static_cast<int32>(key.size())); in CreateEntry()
132 backend_->InternalDoomEntry(this); in Doom()
135 backend_->RemoveFromRankingList(this); in Doom()
266 backend_->ModifyStorageSize(data_size_[i], 0); in ~MemEntryImpl()
267 backend_->ModifyStorageSize(static_cast<int32>(key_.size()), 0); in ~MemEntryImpl()
304 int max_file_size = backend_->MaxFileSize(); in InternalWriteData()
318 backend_->ModifyStorageSize(entry_size, offset + buf_len); in InternalWriteData()
322 backend_->ModifyStorageSize(entry_size, offset + buf_len); in InternalWriteData()
530 backend_->UpdateRank(this); in UpdateRank()
[all …]
Dsparse_control.cc56 : backend_(backend->GetWeakPtr()), name_(name), signature_(0) {} in ChildrenDeleter()
71 base::WeakPtr<disk_cache::BackendImpl> backend_; member in __anon740265cc0111::ChildrenDeleter
106 if (!backend_) in ReadData()
109 disk_cache::File* file(backend_->File(address)); in ReadData()
129 if (!children_map_.FindNextSetBit(&child_id) || !backend_) { in DeleteChildren()
134 backend_->SyncDoomEntry(child_name); in DeleteChildren()
343 ChildrenDeleter* deleter = new ChildrenDeleter(entry->backend_, in DeleteChildren()
443 child_ = entry_->backend_->OpenEntryImpl(key); in OpenChild()
513 child_ = entry_->backend_->CreateEntryImpl(key); in ContinueWithoutChild()
Dstats.cc119 Stats::Stats() : backend_(NULL), size_histogram_(NULL) { in Stats()
138 backend_ = backend; in Init()
233 if (!backend_) in Store()
243 StoreStats(backend_, address, &stats); in Store()
/external/chromium/chrome/browser/policy/
Dmock_device_management_service.cc11 : backend_(backend) { in ProxyDeviceManagementBackend()
20 backend_->ProcessRegisterRequest(auth_token, device_id, request, delegate); in ProcessRegisterRequest()
28 backend_->ProcessUnregisterRequest(device_management_token, device_id, in ProcessUnregisterRequest()
36 backend_->ProcessPolicyRequest(device_management_token, device_id, in ProcessPolicyRequest()
42 backend_(NULL) {} in MockDeviceManagementService()
47 return new ProxyDeviceManagementBackend(backend_); in CreateBackend()
Ddevice_management_service_unittest.cc59 backend_.reset(); in TearDown()
66 backend_.reset(); in ResetService()
68 backend_.reset(service_->CreateBackend()); in ResetService()
74 scoped_ptr<DeviceManagementBackend> backend_; member in policy::DeviceManagementServiceTestBase
108 backend_->ProcessRegisterRequest(kAuthToken, kDeviceId, request, &mock); in TEST_P()
124 backend_->ProcessUnregisterRequest(kDMToken, kDeviceId, request, &mock); in TEST_P()
144 backend_->ProcessPolicyRequest(kDMToken, kDeviceId, request, &mock); in TEST_P()
250 backend_.reset(); in ResetBackend()
294 backend_->ProcessRegisterRequest(kDMToken, kDeviceId, request, &mock); in TEST_F()
328 backend_->ProcessUnregisterRequest(kDMToken, kDeviceId, request, &mock); in TEST_F()
[all …]
Ddevice_token_fetcher_unittest.cc52 service_.set_backend(&backend_); in SetUp()
60 MockDeviceManagementBackend backend_; member in policy::DeviceTokenFetcherTest
73 EXPECT_CALL(backend_, ProcessRegisterRequest(_, _, _, _)).WillOnce( in TEST_F()
89 EXPECT_CALL(backend_, ProcessRegisterRequest(_, _, _, _)).WillOnce( in TEST_F()
105 EXPECT_CALL(backend_, ProcessRegisterRequest(_, _, _, _)).WillOnce( in TEST_F()
123 EXPECT_CALL(backend_, ProcessRegisterRequest(_, _, _, _)).WillOnce( in TEST_F()
Dcloud_policy_controller_unittest.cc89 service_.set_backend(&backend_); in SetUp()
157 MockDeviceManagementBackend backend_; member in policy::CloudPolicyControllerTest
176 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
212 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
227 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
243 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
258 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
274 EXPECT_CALL(backend_, ProcessPolicyRequest(_, _, _, _)).WillOnce( in TEST_F()
Dmock_device_management_service.h44 DeviceManagementBackend* backend_; // weak
54 backend_ = backend; in set_backend()
60 DeviceManagementBackend* backend_; // weak
/external/chromium/chrome/browser/sync/glue/
Ddata_type_manager_impl2_unittest.cc162 SyncBackendHostMock backend_; member in DataTypeManagerImpl2Test
169 DataTypeManagerImpl dtm(&backend_, controllers_); in TEST_F()
182 EXPECT_CALL(backend_, ConfigureDataTypes(_, _, _)).Times(1); in TEST_F()
183 DataTypeManagerImpl dtm(&backend_, controllers_); in TEST_F()
198 EXPECT_CALL(backend_, ConfigureDataTypes(_, _, _)).Times(1); in TEST_F()
199 DataTypeManagerImpl dtm(&backend_, controllers_); in TEST_F()
213 EXPECT_CALL(backend_, ConfigureDataTypes(_, _, _)).Times(1); in TEST_F()
214 DataTypeManagerImpl dtm(&backend_, controllers_); in TEST_F()
232 EXPECT_CALL(backend_, ConfigureDataTypes(_, _, _)).Times(1); in TEST_F()
234 DataTypeManagerImpl dtm(&backend_, controllers_); in TEST_F()
[all …]
/external/chromium/chrome/browser/ssl/
Dssl_policy.cc40 : backend_(backend) { in SSLPolicy()
41 DCHECK(backend_); in SSLPolicy()
47 backend_->QueryPolicy(handler->ssl_info().cert, in OnCertError()
97 backend_->HostRanInsecureContent(GURL(security_origin).host(), in DidRunInsecureContent()
107 backend_->HostRanInsecureContent(info->url().host(), info->child_id()); in OnRequestStarted()
149 backend_->DidHostRunInsecureContent(entry->url().host(), in UpdateEntry()
175 backend_->DenyCertForHost(handler->ssl_info().cert, in OnDenyCertificate()
191 backend_->AllowCertForHost(handler->ssl_info().cert, in OnAllowCertificate()
225 backend_->HostRanInsecureContent(parsed_origin.host(), pid); in OriginRanInsecureContent()
Dssl_policy.h42 SSLPolicyBackend* backend() const { return backend_; } in backend()
66 SSLPolicyBackend* backend_; variable
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store.cc623 : backend_(new Backend(path)) {
627 if (backend_.get()) {
628 backend_->Close();
631 backend_ = NULL;
637 return backend_->Load(cookies);
642 if (backend_.get())
643 backend_->AddCookie(cc);
648 if (backend_.get())
649 backend_->UpdateCookieAccessTime(cc);
654 if (backend_.get())
[all …]
/external/chromium/net/http/
Ddisk_cache_based_ssl_host_info.h62 disk_cache::Backend** backend_pointer() { return &backend_; } in backend_pointer()
64 disk_cache::Backend* backend() const { return backend_; } in backend()
74 disk_cache::Backend* backend_; variable
112 disk_cache::Backend* backend_; variable
Ddisk_cache_based_ssl_host_info.cc21 backend_(NULL), in CallbackImpl()
49 backend_(NULL), in DiskCacheBasedSSLHostInfo()
82 if (!backend_) in Persist()
149 backend_ = callback_->backend(); in DoGetBackendComplete()
198 return backend_->OpenEntry(key(), callback_->entry_pointer(), callback_); in DoOpen()
226 return backend_->CreateEntry(key(), callback_->entry_pointer(), callback_); in DoCreate()
/external/chromium/chrome/browser/ui/webui/
Dchrome_url_data_manager_backend.cc116 ChromeURLDataManagerBackend* backend_; member in URLRequestChromeJob
150 i->second->backend_ = NULL; in ~ChromeURLDataManagerBackend()
172 i->second->backend_ = NULL; in AddDataSource()
175 source->backend_ = this; in AddDataSource()
290 backend_(GetBackend(request)), in URLRequestChromeJob()
295 CHECK(!backend_->HasPendingJob(this)); in ~URLRequestChromeJob()
306 backend_->RemoveRequest(this); in Kill()
375 if (backend_->StartRequest(request_->url(), this)) { in StartAsync()
Dchrome_url_data_manager.cc114 backend_(NULL) { in DataSource()
175 if (backend_) in SendResponseOnIOThread()
176 backend_->DataAvailable(request_id, bytes); in SendResponseOnIOThread()
/external/chromium/chrome/browser/chromeos/
Dversion_loader.cc31 VersionLoader::VersionLoader() : backend_(new Backend()) { in VersionLoader()
62 NewRunnableMethod(backend_.get(), &Backend::GetVersion, request, format)); in GetVersion()
80 NewRunnableMethod(backend_.get(), &Backend::GetFirmware, request)); in GetFirmware()
85 backend_.get()->set_parse_as_platform(enable); in EnablePlatformVersions()

123