/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_action_storage_manager.cc | 200 StateStore* store = GetStateStore(); local 201 if (store) 202 store->RegisterKey(kBrowserActionStorageKey); 215 StateStore* store = GetStateStore(); 216 if (store) { 217 store->GetExtensionValue( 241 StateStore* store = GetStateStore(); local 242 if (store) { 245 store->SetExtensionValue(extension_action->extension_id(),
|
H A D | menu_manager.cc | 48 // Keys for serialization to and from Value to store in the preferences. 306 MenuManager::MenuManager(content::BrowserContext* context, StateStore* store) argument 309 store_(store) { 821 // Because of the order in which we store items in the prefs, parents will
|
/external/chromium_org/chrome/browser/geolocation/ |
H A D | access_token_store_browsertest.cc | 20 // The token store factory implementation expects to be used from any well-known 49 scoped_refptr<AccessTokenStore>* store, 52 if (store->get() == NULL) 53 (*store) = new ChromeAccessTokenStore(); 54 (*store)->LoadAccessTokens(callback); 99 scoped_refptr<AccessTokenStore> store(new ChromeAccessTokenStore()); 100 store->SaveAccessToken(ref_url_, *token_to_set_); 48 StartTestStepFromClientThread( scoped_refptr<AccessTokenStore>* store, const AccessTokenStore::LoadAccessTokensCallbackType& callback) argument
|
/external/chromium_org/chrome/browser/password_manager/ |
H A D | password_store_mac_unittest.cc | 1077 // Do a store-level query to wait for all the operations above to be done. 1085 TestPasswordStoreMac* store() { return store_.get(); } function 1261 PasswordsChangeObserver(TestPasswordStoreMac* store) : observer_(this) { 1262 observer_.Add(store); 1322 PasswordsChangeObserver observer(test->store()); 1323 test->store()->AddLogin(*form_facebook_old); 1324 test->store()->AddLogin(*form_facebook); 1325 test->store()->AddLogin(*form_other); 1348 (test->store()->*method)(base::Time(), next_day); 1369 (test->store() [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | cloud_policy_invalidator.cc | 92 core_->store()->RemoveObserver(this); 139 OnStoreLoaded(core_->store()); 140 core_->store()->AddObserver(this); 148 core_->store()->RemoveObserver(this); 153 void CloudPolicyInvalidator::OnStoreLoaded(CloudPolicyStore* store) { argument 156 bool policy_changed = IsPolicyChanged(store->policy()); 170 const int64 store_invalidation_version = store->invalidation_version(); 182 UpdateRegistration(store->policy()); 183 UpdateMaxFetchDelay(store->policy_map()); 186 void CloudPolicyInvalidator::OnStoreError(CloudPolicyStore* store) {} argument [all...] |
H A D | user_policy_signin_service_unittest.cc | 100 MockUserCloudPolicyStore *store = new MockUserCloudPolicyStore(); local 101 EXPECT_CALL(*store, Load()).Times(AnyNumber()); 104 scoped_ptr<UserCloudPolicyStore>(store), 192 manager_->core()->store()); 218 // should result in the store being cleared to remove any lingering policy. 328 // store and ultimately result in a call to OnPolicyRefresh(). 342 // Complete the store which should cause the policy fetch callback to be 413 // Complete initialization of the store. 432 // Complete initialization of the store. 461 // Complete initialization of the store [all...] |
/external/chromium_org/chrome/browser/prefs/ |
H A D | command_line_pref_store_unittest.cc | 69 scoped_refptr<CommandLinePrefStore> store = new CommandLinePrefStore(&cl); local 72 EXPECT_TRUE(store->GetValue(prefs::kApplicationLocale, &actual)); 82 scoped_refptr<TestCommandLinePrefStore> store = local 85 store->VerifyProxyMode(ProxyPrefs::MODE_DIRECT); 93 scoped_refptr<CommandLinePrefStore> store = new CommandLinePrefStore(&cl); local 96 EXPECT_FALSE(store->GetValue(unknown_bool, &actual)); 97 EXPECT_FALSE(store->GetValue(unknown_string, &actual)); 107 scoped_refptr<TestCommandLinePrefStore> store = local 111 EXPECT_FALSE(store->GetValue(unknown_bool, &actual)); 112 EXPECT_FALSE(store 135 scoped_refptr<TestCommandLinePrefStore> store = local [all...] |
/external/chromium_org/chrome/browser/prefs/tracked/ |
H A D | tracked_preferences_migration_unittest.cc | 34 // A protected pref which is initially stored in the unprotected store. 36 // An unprotected pref which is initially stored in the protected store. 68 // 1) Set up initial store prefs with PresetStoreValue(). 70 // 3) Migration completes synchronously when the second store hands its prefs 147 // Sets |key| to |value| in the test store identified by |store_id| before 148 // migration begins. Also sets the corresponding hash in the same store. 156 // Sets |key| to |value| in the test store identified by |store_id| before 166 // Stores a hash for |key| and |value| in the hash store identified by 171 base::DictionaryValue* store = NULL; local 175 store 224 base::DictionaryValue* store = NULL; local 247 base::DictionaryValue* store = NULL; local 393 base::DictionaryValue* store = NULL; local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_database.cc | 42 // Filename suffix for download store. 45 // Filename suffix for client-side phishing detection whitelist store. 48 // Filename suffix for the download whitelist store. 51 // Filename suffix for the extension blacklist store. 54 // Filename suffix for the side-effect free whitelist store. 57 // Filename suffix for the csd malware IP blacklist store. 61 // Filename suffix for browse store. 72 // store. Then if a mistake is made, it won't cause confusion between 167 // Helper function to compare addprefixes in |store| with |prefixes|. 172 bool MatchAddPrefixes(SafeBrowsingStore* store, argument 222 UpdateChunkRanges(SafeBrowsingStore* store, const std::vector<std::string>& listnames, std::vector<SBListChunkRanges>* lists) argument 255 UpdateChunkRangesForLists(SafeBrowsingStore* store, const std::string& listname0, const std::string& listname1, std::vector<SBListChunkRanges>* lists) argument 265 UpdateChunkRangesForList(SafeBrowsingStore* store, const std::string& listname, std::vector<SBListChunkRanges>* lists) argument 811 InsertAddChunk( SafeBrowsingStore* store, const safe_browsing_util::ListType list_id, const SBChunkData& chunk_data) argument 842 InsertSubChunk( SafeBrowsingStore* store, const safe_browsing_util::ListType list_id, const SBChunkData& chunk_data) argument 892 SafeBrowsingStore* store = GetStore(list_id); local 925 SafeBrowsingStore* store = GetStore(list_id); local 1154 UpdateWhitelistStore( const base::FilePath& store_filename, SafeBrowsingStore* store, SBWhitelist* whitelist) argument 1178 UpdateHashPrefixStore( const base::FilePath& store_filename, SafeBrowsingStore* store, FailureType failure_type) argument [all...] |
H A D | safe_browsing_database_unittest.cc | 875 // cache insert uses Time::Now(). First, store some entries. 1052 SafeBrowsingStoreFile* store = new SafeBrowsingStoreFile(); local 1053 database_.reset(new SafeBrowsingDatabaseNew(store, NULL, NULL, NULL, NULL,
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_settings_service.cc | 63 PersistentPrefStore* store = new JsonPrefStore( local 65 Init(store); 73 scoped_refptr<PersistentPrefStore> store) { 75 store_ = store; 72 Init( scoped_refptr<PersistentPrefStore> store) argument
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | passwords_helper.cc | 81 void AddLogin(PasswordStore* store, const PasswordForm& form) { argument 82 ASSERT_TRUE(store); 84 store->AddLogin(form); 85 store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event)); 89 void UpdateLogin(PasswordStore* store, const PasswordForm& form) { argument 90 ASSERT_TRUE(store); 92 store->UpdateLogin(form); 93 store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event)); 97 void GetLogins(PasswordStore* store, std::vector<PasswordForm>& matches) { argument 98 ASSERT_TRUE(store); 106 RemoveLogin(PasswordStore* store, const PasswordForm& form) argument 114 RemoveLogins(PasswordStore* store) argument [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | extension_app_model_builder_unittest.cc | 155 // Install a "web store" app. 156 scoped_refptr<extensions::Extension> store = local 161 service_->AddExtension(store.get()); 163 // Install an "enterprise web store" app. 175 EXPECT_TRUE(model1.FindItem(store->id())); 182 EXPECT_FALSE(model1.FindItem(store->id())); 189 EXPECT_FALSE(model2.FindItem(store->id())); 196 EXPECT_TRUE(model2.FindItem(store->id()));
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | history.cc | 25 History::History(scoped_refptr<HistoryDataStore> store) argument 26 : store_(store),
|
H A D | history_data.cc | 41 HistoryData::HistoryData(HistoryDataStore* store, argument 44 : store_(store),
|
H A D | history_data_store_unittest.cc | 81 HistoryDataStore* store() { return store_.get(); } function in class:app_list::test::HistoryDataStoreTest 152 store()->SetPrimary(kQuery, "primary"); 153 store()->SetUpdateTime(kQuery, now); 166 store()->SetSecondary(kQuery, secondary); 175 store()->Delete(kQuery);
|
H A D | history_unittest.cc | 31 // store on the blocking pool. The waiter waits on the main message loop until 60 // StoreFlushWaiter waits for the given |store| to flush its data to disk. 66 explicit StoreFlushWaiter(HistoryDataStore* store) : store_(store) {} argument
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | system_tray_delegate_chromeos.cc | 282 policy_manager->core()->store()->AddObserver(this); 317 policy_manager->core()->store()->RemoveObserver(this); 1267 policy::CloudPolicyStore* store) { 1271 void SystemTrayDelegateChromeOS::OnStoreError(policy::CloudPolicyStore* store) { argument 1266 OnStoreLoaded( policy::CloudPolicyStore* store) argument
|
/external/chromium_org/chrome/browser/ui/passwords/ |
H A D | password_manager_presenter.cc | 38 PasswordStore* store = GetPasswordStore(); local 39 if (store) 40 store->RemoveObserver(this); 58 PasswordStore* store = GetPasswordStore(); local 59 if (store) 60 store->AddObserver(this); 93 PasswordStore* store = GetPasswordStore(); local 94 if (!store) 96 store->RemoveLogin(*password_list_[index]); 108 PasswordStore* store local 202 PasswordStore* store = page_->GetPasswordStore(); local 225 PasswordStore* store = page_->GetPasswordStore(); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | policy_ui.cc | 157 const policy::CloudPolicyStore* store = core->store(); local 166 policy::FormatStoreStatus(store->status(), store->validation_status()); 167 if (store->status() == policy::CloudPolicyStore::STATUS_OK) { 170 else if (!store->is_managed()) 171 status = FormatAssociationState(store->policy()); 174 const em::PolicyData* policy = store->policy(); 184 bool no_error = store->status() == policy::CloudPolicyStore::STATUS_OK && 272 virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRID 440 OnStoreLoaded( policy::CloudPolicyStore* store) argument 445 OnStoreError( policy::CloudPolicyStore* store) argument [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/ |
H A D | background.js | 264 ManagedBookmarkTree.prototype.store = function() { 288 // otherwise its callbacks are never invoked. So store() is called only if 291 callbackChain.push(this.store.bind(this)); 359 // A new tree.store() is needed at the end because the regenerated nodes 362 callbackChain.push(tree.store.bind(tree));
|
/external/chromium_org/chrome/service/cloud_print/ |
H A D | cloud_print_token_store_unittest.cc | 13 CloudPrintTokenStore* store = new CloudPrintTokenStore; local 14 EXPECT_EQ(store, CloudPrintTokenStore::current()); 17 delete store;
|
/external/chromium_org/chrome/test/base/ |
H A D | testing_profile.cc | 404 TestingPrefStore* store = new TestingPrefStore(); local 405 settings_service->Init(store); 406 store->SetInitializationCompleted();
|
/external/chromium_org/components/dom_distiller/core/ |
H A D | distilled_content_store.cc | 91 InMemoryContentStore::CacheDeletor::CacheDeletor(InMemoryContentStore* store) argument 92 : store_(store) {
|
H A D | dom_distiller_service.cc | 40 scoped_ptr<DomDistillerStoreInterface> store, 44 : store_(store.Pass()), 81 // Entry is in the store but there is no task tracker. This could 39 DomDistillerService( scoped_ptr<DomDistillerStoreInterface> store, scoped_ptr<DistillerFactory> distiller_factory, scoped_ptr<DistillerPageFactory> distiller_page_factory, scoped_ptr<DistilledPagePrefs> distilled_page_prefs) argument
|