/external/chromium/chrome/browser/extensions/ |
extension_proxy_api.cc | 61 Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, 63 // When ExtensionToBrowserPref is called, the format of |extension_pref| 66 CHECK(extension_pref->IsType(Value::TYPE_DICTIONARY)); 68 static_cast<const DictionaryValue*>(extension_pref); 108 scoped_ptr<DictionaryValue> extension_pref(new DictionaryValue); 110 extension_pref->SetString(keys::kProxyConfigMode, 126 extension_pref->Set(keys::kProxyConfigPacScript, pac_dict); 134 extension_pref->Set(keys::kProxyConfigRules, proxy_rules_dict); 140 return extension_pref.release();
|
extension_proxy_api_helpers_unittest.cc | 272 scoped_ptr<DictionaryValue> extension_pref(CreateProxyRulesDict(config)); 273 ASSERT_TRUE(extension_pref.get()); 288 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); 296 scoped_ptr<DictionaryValue> extension_pref(CreatePacScriptDict(config)); 297 ASSERT_TRUE(extension_pref.get()); 302 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); 310 scoped_ptr<DictionaryValue> extension_pref(CreatePacScriptDict(config)); 311 ASSERT_TRUE(extension_pref.get()); 316 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get()));
|
extension_proxy_api.h | 30 virtual Value* ExtensionToBrowserPref(const Value* extension_pref,
|
extension_preference_api.cc | 26 const char* extension_pref; member in struct:__anon1841::PrefMappingEntry 74 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, 76 return extension_pref->DeepCopy(); 116 bool FindBrowserPrefForExtensionPref(const std::string& extension_pref, 120 mapping_.find(extension_pref); 158 mapping_[kPrefMapping[i].extension_pref] = 163 kPrefMapping[i].extension_pref);
|
extension_preference_api.h | 53 virtual Value* ExtensionToBrowserPref(const Value* extension_pref,
|
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_api.cc | 91 Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, 94 // When ExtensionToBrowserPref is called, the format of |extension_pref| 97 CHECK(extension_pref->IsType(Value::TYPE_DICTIONARY)); 99 static_cast<const base::DictionaryValue*>(extension_pref); 147 scoped_ptr<base::DictionaryValue> extension_pref(new base::DictionaryValue); 149 extension_pref->SetString(keys::kProxyConfigMode, 165 extension_pref->Set(keys::kProxyConfigPacScript, pac_dict); 174 extension_pref->Set(keys::kProxyConfigRules, proxy_rules_dict); 180 return extension_pref.release();
|
proxy_api_helpers_unittest.cc | 344 scoped_ptr<base::DictionaryValue> extension_pref( 346 ASSERT_TRUE(extension_pref.get()); 361 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); 372 scoped_ptr<base::DictionaryValue> extension_pref( 374 ASSERT_TRUE(extension_pref.get()); 389 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); 397 scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)); 398 ASSERT_TRUE(extension_pref.get()); 404 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); 412 scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)) [all...] |
proxy_api.h | 34 virtual base::Value* ExtensionToBrowserPref(const base::Value* extension_pref,
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_api.cc | 44 const char* extension_pref; member in struct:extensions::__anon4780::PrefMappingEntry 113 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, 116 return extension_pref->DeepCopy(); 126 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, 129 return InvertBooleanValue(extension_pref); 151 bool FindBrowserPrefForExtensionPref(const std::string& extension_pref, 154 PrefMap::iterator it = mapping_.find(extension_pref); 191 mapping_[kPrefMapping[i].extension_pref] = 196 kPrefMapping[i].extension_pref);
|
preference_api.h | 164 const base::Value* extension_pref,
|
/external/chromium/chrome/browser/prefs/ |
pref_value_store_unittest.cc | 59 namespace extension_pref { namespace 159 extension_pref::kManagedPlatformValue); 162 extension_pref::kManagedCloudValue); 165 extension_pref::kExtensionValue); 318 EXPECT_EQ(extension_pref::kExtensionValue, actual_str_value);
|
/external/chromium_org/base/prefs/ |
pref_value_store_unittest.cc | 59 namespace extension_pref { namespace 149 extension_pref::kManagedValue); 152 extension_pref::kSupervisedUserValue); 155 extension_pref::kExtensionValue); 290 EXPECT_EQ(extension_pref::kExtensionValue, actual_str_value);
|