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

Side by Side Diff: content/common/plugin_list.cc

Issue 456513002: Add base:: qualification to some CommandLine references in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: imerge Created 6 years, 4 months 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
« no previous file with comments | « content/common/pepper_plugin_list.cc ('k') | content/common/sandbox_init_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/common/plugin_list.h" 5 #include "content/common/plugin_list.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 18 matching lines...) Expand all
29 29
30 } // namespace 30 } // namespace
31 31
32 // static 32 // static
33 PluginList* PluginList::Singleton() { 33 PluginList* PluginList::Singleton() {
34 return g_singleton.Pointer(); 34 return g_singleton.Pointer();
35 } 35 }
36 36
37 // static 37 // static
38 bool PluginList::DebugPluginLoading() { 38 bool PluginList::DebugPluginLoading() {
39 return CommandLine::ForCurrentProcess()->HasSwitch( 39 return base::CommandLine::ForCurrentProcess()->HasSwitch(
40 switches::kDebugPluginLoading); 40 switches::kDebugPluginLoading);
41 } 41 }
42 42
43 void PluginList::DisablePluginsDiscovery() { 43 void PluginList::DisablePluginsDiscovery() {
44 plugins_discovery_disabled_ = true; 44 plugins_discovery_disabled_ = true;
45 } 45 }
46 46
47 void PluginList::RefreshPlugins() { 47 void PluginList::RefreshPlugins() {
48 base::AutoLock lock(lock_); 48 base::AutoLock lock(lock_);
49 loading_state_ = LOADING_STATE_NEEDS_REFRESH; 49 loading_state_ = LOADING_STATE_NEEDS_REFRESH;
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 plugin_path); 406 plugin_path);
407 if (it != extra_plugin_paths_.end()) 407 if (it != extra_plugin_paths_.end())
408 extra_plugin_paths_.erase(it); 408 extra_plugin_paths_.erase(it);
409 } 409 }
410 410
411 PluginList::~PluginList() { 411 PluginList::~PluginList() {
412 } 412 }
413 413
414 414
415 } // namespace content 415 } // namespace content
OLDNEW
« no previous file with comments | « content/common/pepper_plugin_list.cc ('k') | content/common/sandbox_init_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698