Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 106433007: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 85589483704640992854326a892afa86c7aa67a5..70f73f74d0db0a3984d81589241f8b4e6cc49b97 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1827,7 +1827,7 @@ void ChromeContentBrowserClient::SelectClientCertificate(
<< cert_request_info->host_and_port.ToString();
Profile* profile = Profile::FromBrowserContext(tab->GetBrowserContext());
- scoped_ptr<Value> filter(
+ scoped_ptr<base::Value> filter(
profile->GetHostContentSettingsMap()->GetWebsiteSetting(
requesting_url,
requesting_url,
@@ -1836,9 +1836,9 @@ void ChromeContentBrowserClient::SelectClientCertificate(
if (filter.get()) {
// Try to automatically select a client certificate.
- if (filter->IsType(Value::TYPE_DICTIONARY)) {
- DictionaryValue* filter_dict =
- static_cast<DictionaryValue*>(filter.get());
+ if (filter->IsType(base::Value::TYPE_DICTIONARY)) {
+ base::DictionaryValue* filter_dict =
+ static_cast<base::DictionaryValue*>(filter.get());
const std::vector<scoped_refptr<net::X509Certificate> >&
all_client_certs = cert_request_info->client_certs;
@@ -2211,10 +2211,11 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
prefs->GetBoolean(prefs::kWebKitDomPasteEnabled);
web_prefs->shrinks_standalone_images_to_fit =
prefs->GetBoolean(prefs::kWebKitShrinksStandaloneImagesToFit);
- const DictionaryValue* inspector_settings =
+ const base::DictionaryValue* inspector_settings =
prefs->GetDictionary(prefs::kWebKitInspectorSettings);
if (inspector_settings) {
- for (DictionaryValue::Iterator iter(*inspector_settings); !iter.IsAtEnd();
+ for (base::DictionaryValue::Iterator iter(*inspector_settings);
+ !iter.IsAtEnd();
iter.Advance()) {
std::string value;
if (iter.value().GetAsString(&value)) {
@@ -2325,9 +2326,9 @@ void ChromeContentBrowserClient::UpdateInspectorSetting(
DictionaryPrefUpdate update(
Profile::FromBrowserContext(browser_context)->GetPrefs(),
prefs::kWebKitInspectorSettings);
- DictionaryValue* inspector_settings = update.Get();
- inspector_settings->SetWithoutPathExpansion(key,
- Value::CreateStringValue(value));
+ base::DictionaryValue* inspector_settings = update.Get();
+ inspector_settings->SetWithoutPathExpansion(
+ key, base::Value::CreateStringValue(value));
}
void ChromeContentBrowserClient::BrowserURLHandlerCreated(
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698