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

Side by Side Diff: chrome/browser/plugins/plugins_resource_service.cc

Issue 104493005: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/plugins/plugins_resource_service.h" 5 #include "chrome/browser/plugins/plugins_resource_service.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_registry_simple.h" 8 #include "base/prefs/pref_registry_simple.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "chrome/browser/plugins/plugin_finder.h" 10 #include "chrome/browser/plugins/plugin_finder.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 PluginsResourceService::~PluginsResourceService() { 72 PluginsResourceService::~PluginsResourceService() {
73 } 73 }
74 74
75 // static 75 // static
76 void PluginsResourceService::RegisterPrefs(PrefRegistrySimple* registry) { 76 void PluginsResourceService::RegisterPrefs(PrefRegistrySimple* registry) {
77 registry->RegisterDictionaryPref(prefs::kPluginsMetadata, 77 registry->RegisterDictionaryPref(prefs::kPluginsMetadata,
78 new base::DictionaryValue()); 78 new base::DictionaryValue());
79 registry->RegisterStringPref(prefs::kPluginsResourceCacheUpdate, "0"); 79 registry->RegisterStringPref(prefs::kPluginsResourceCacheUpdate, "0");
80 } 80 }
81 81
82 void PluginsResourceService::Unpack(const DictionaryValue& parsed_json) { 82 void PluginsResourceService::Unpack(const base::DictionaryValue& parsed_json) {
83 prefs_->Set(prefs::kPluginsMetadata, parsed_json); 83 prefs_->Set(prefs::kPluginsMetadata, parsed_json);
84 PluginFinder::GetInstance()->ReinitializePlugins(&parsed_json); 84 PluginFinder::GetInstance()->ReinitializePlugins(&parsed_json);
85 } 85 }
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_prefs.cc ('k') | chrome/browser/policy/configuration_policy_handler_list_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698