Home
last modified time | relevance | path

Searched refs:browser_pref (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_preference_api.cc27 const char* browser_pref; member
79 virtual Value* BrowserToExtensionPref(const Value* browser_pref) { in BrowserToExtensionPref() argument
80 return browser_pref->DeepCopy(); in BrowserToExtensionPref()
89 const std::string& browser_pref, in GetLevelOfControl() argument
94 prefs->FindPreference(browser_pref.c_str()); in GetLevelOfControl()
101 if (ep->DoesExtensionControlPref(extension_id, browser_pref, incognito)) in GetLevelOfControl()
104 if (ep->CanExtensionControlPref(extension_id, browser_pref, incognito)) in GetLevelOfControl()
117 std::string* browser_pref, in FindBrowserPrefForExtensionPref() argument
122 *browser_pref = it->second.first; in FindBrowserPrefForExtensionPref()
129 bool FindEventForBrowserPref(const std::string& browser_pref, in FindEventForBrowserPref() argument
[all …]
Dextension_proxy_api.cc93 Value* ProxyPrefTransformer::BrowserToExtensionPref(const Value* browser_pref) { in BrowserToExtensionPref() argument
94 CHECK(browser_pref->IsType(Value::TYPE_DICTIONARY)); in BrowserToExtensionPref()
99 static_cast<const DictionaryValue*>(browser_pref)); in BrowserToExtensionPref()
Dextension_proxy_api_helpers_unittest.cc267 scoped_ptr<DictionaryValue> browser_pref( in TEST() local
271 ProxyConfigDictionary config(browser_pref.get()); in TEST()
293 scoped_ptr<DictionaryValue> browser_pref( in TEST() local
295 ProxyConfigDictionary config(browser_pref.get()); in TEST()
307 scoped_ptr<DictionaryValue> browser_pref( in TEST() local
309 ProxyConfigDictionary config(browser_pref.get()); in TEST()
Dextension_proxy_api.h32 virtual Value* BrowserToExtensionPref(const Value* browser_pref) OVERRIDE;
Dextension_preference_api.h60 virtual Value* BrowserToExtensionPref(const Value* browser_pref) = 0;
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_api.cc47 const char* browser_pref; member
119 virtual Value* BrowserToExtensionPref(const Value* browser_pref) OVERRIDE { in BrowserToExtensionPref() argument
120 return browser_pref->DeepCopy(); in BrowserToExtensionPref()
132 virtual Value* BrowserToExtensionPref(const Value* browser_pref) OVERRIDE { in BrowserToExtensionPref() argument
133 return InvertBooleanValue(browser_pref); in BrowserToExtensionPref()
152 std::string* browser_pref, in FindBrowserPrefForExtensionPref() argument
156 *browser_pref = it->second.first; in FindBrowserPrefForExtensionPref()
163 bool FindEventForBrowserPref(const std::string& browser_pref, in FindEventForBrowserPref() argument
166 PrefMap::iterator it = event_mapping_.find(browser_pref); in FindEventForBrowserPref()
176 const std::string& browser_pref) { in FindTransformerForBrowserPref() argument
[all …]
Dpreference_helpers.cc56 const std::string& browser_pref, in GetLevelOfControl() argument
63 prefs->FindPreference(browser_pref.c_str()); in GetLevelOfControl()
71 browser_pref, in GetLevelOfControl()
77 browser_pref, in GetLevelOfControl()
91 const std::string& browser_pref) { in DispatchEventToExtensions() argument
112 GetLevelOfControl(profile, extension_id, browser_pref, incognito); in DispatchEventToExtensions()
129 browser_pref, in DispatchEventToExtensions()
Dpreference_helpers.h30 const std::string& browser_pref,
44 const std::string& browser_pref);
Dpreference_api.h173 const base::Value* browser_pref) = 0;
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_helpers_unittest.cc339 scoped_ptr<base::DictionaryValue> browser_pref( in TEST() local
343 ProxyConfigDictionary config(browser_pref.get()); in TEST()
366 scoped_ptr<base::DictionaryValue> browser_pref( in TEST() local
371 ProxyConfigDictionary config(browser_pref.get()); in TEST()
394 scoped_ptr<base::DictionaryValue> browser_pref( in TEST() local
396 ProxyConfigDictionary config(browser_pref.get()); in TEST()
409 scoped_ptr<base::DictionaryValue> browser_pref( in TEST() local
411 ProxyConfigDictionary config(browser_pref.get()); in TEST()
Dproxy_api.cc132 Value* ProxyPrefTransformer::BrowserToExtensionPref(const Value* browser_pref) { in BrowserToExtensionPref() argument
133 CHECK(browser_pref->IsType(Value::TYPE_DICTIONARY)); in BrowserToExtensionPref()
138 static_cast<const base::DictionaryValue*>(browser_pref)); in BrowserToExtensionPref()
Dproxy_api.h38 const base::Value* browser_pref) OVERRIDE;