Searched refs:extension_pref (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/extensions/ |
D | extension_proxy_api.cc | 61 Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, in ExtensionToBrowserPref() argument 66 CHECK(extension_pref->IsType(Value::TYPE_DICTIONARY)); in ExtensionToBrowserPref() 68 static_cast<const DictionaryValue*>(extension_pref); in ExtensionToBrowserPref() 108 scoped_ptr<DictionaryValue> extension_pref(new DictionaryValue); in BrowserToExtensionPref() local 110 extension_pref->SetString(keys::kProxyConfigMode, in BrowserToExtensionPref() 126 extension_pref->Set(keys::kProxyConfigPacScript, pac_dict); in BrowserToExtensionPref() 134 extension_pref->Set(keys::kProxyConfigRules, proxy_rules_dict); in BrowserToExtensionPref() 140 return extension_pref.release(); in BrowserToExtensionPref()
|
D | extension_proxy_api_helpers_unittest.cc | 272 scoped_ptr<DictionaryValue> extension_pref(CreateProxyRulesDict(config)); in TEST() local 273 ASSERT_TRUE(extension_pref.get()); in TEST() 288 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST() 296 scoped_ptr<DictionaryValue> extension_pref(CreatePacScriptDict(config)); in TEST() local 297 ASSERT_TRUE(extension_pref.get()); in TEST() 302 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST() 310 scoped_ptr<DictionaryValue> extension_pref(CreatePacScriptDict(config)); in TEST() local 311 ASSERT_TRUE(extension_pref.get()); in TEST() 316 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST()
|
D | extension_preference_api.cc | 26 const char* extension_pref; member 74 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, in ExtensionToBrowserPref() argument 76 return extension_pref->DeepCopy(); in ExtensionToBrowserPref() 116 bool FindBrowserPrefForExtensionPref(const std::string& extension_pref, in FindBrowserPrefForExtensionPref() argument 120 mapping_.find(extension_pref); in FindBrowserPrefForExtensionPref() 158 mapping_[kPrefMapping[i].extension_pref] = in PrefMapping() 163 kPrefMapping[i].extension_pref); in PrefMapping()
|
D | extension_proxy_api.h | 30 virtual Value* ExtensionToBrowserPref(const Value* extension_pref,
|
D | extension_preference_api.h | 53 virtual Value* ExtensionToBrowserPref(const Value* extension_pref,
|
/external/chromium/chrome/browser/prefs/ |
D | pref_value_store_unittest.cc | 59 namespace extension_pref { namespace 159 extension_pref::kManagedPlatformValue); in CreateExtensionPrefs() 162 extension_pref::kManagedCloudValue); in CreateExtensionPrefs() 165 extension_pref::kExtensionValue); in CreateExtensionPrefs() 318 EXPECT_EQ(extension_pref::kExtensionValue, actual_str_value); in TEST_F()
|