/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_org/chrome/browser/extensions/api/proxy/ |
D | proxy_api.cc | 91 Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, in ExtensionToBrowserPref() argument 97 CHECK(extension_pref->IsType(Value::TYPE_DICTIONARY)); in ExtensionToBrowserPref() 99 static_cast<const base::DictionaryValue*>(extension_pref); in ExtensionToBrowserPref() 147 scoped_ptr<base::DictionaryValue> extension_pref(new base::DictionaryValue); in BrowserToExtensionPref() local 149 extension_pref->SetString(keys::kProxyConfigMode, in BrowserToExtensionPref() 165 extension_pref->Set(keys::kProxyConfigPacScript, pac_dict); in BrowserToExtensionPref() 174 extension_pref->Set(keys::kProxyConfigRules, proxy_rules_dict); in BrowserToExtensionPref() 180 return extension_pref.release(); in BrowserToExtensionPref()
|
D | proxy_api_helpers_unittest.cc | 344 scoped_ptr<base::DictionaryValue> extension_pref( in TEST() local 346 ASSERT_TRUE(extension_pref.get()); in TEST() 361 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST() 372 scoped_ptr<base::DictionaryValue> extension_pref( in TEST() local 374 ASSERT_TRUE(extension_pref.get()); in TEST() 389 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST() 397 scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)); in TEST() local 398 ASSERT_TRUE(extension_pref.get()); in TEST() 404 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get())); in TEST() 412 scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)); in TEST() local [all …]
|
D | proxy_api.h | 34 virtual base::Value* ExtensionToBrowserPref(const base::Value* extension_pref,
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
D | preference_api.cc | 44 const char* extension_pref; member 113 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, in ExtensionToBrowserPref() argument 116 return extension_pref->DeepCopy(); in ExtensionToBrowserPref() 126 virtual Value* ExtensionToBrowserPref(const Value* extension_pref, in ExtensionToBrowserPref() argument 129 return InvertBooleanValue(extension_pref); in ExtensionToBrowserPref() 151 bool FindBrowserPrefForExtensionPref(const std::string& extension_pref, in FindBrowserPrefForExtensionPref() argument 154 PrefMap::iterator it = mapping_.find(extension_pref); in FindBrowserPrefForExtensionPref() 191 mapping_[kPrefMapping[i].extension_pref] = in PrefMapping() 196 kPrefMapping[i].extension_pref); in PrefMapping()
|
D | preference_api.h | 164 const base::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()
|
/external/chromium_org/base/prefs/ |
D | pref_value_store_unittest.cc | 59 namespace extension_pref { namespace 149 extension_pref::kManagedValue); in CreateExtensionPrefs() 152 extension_pref::kSupervisedUserValue); in CreateExtensionPrefs() 155 extension_pref::kExtensionValue); in CreateExtensionPrefs() 290 EXPECT_EQ(extension_pref::kExtensionValue, actual_str_value); in TEST_F()
|