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

Side by Side Diff: chrome/common/chrome_counters.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | « chrome/common/chrome_counters.h ('k') | chrome/common/chrome_paths.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/common/chrome_counters.h" 5 #include "chrome/common/chrome_counters.h"
6 6
7 #include "base/metrics/stats_counters.h" 7 #include "base/metrics/stats_counters.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 24 matching lines...) Expand all
35 StatsCounterTimer& Counters::spellcheck_init() { 35 StatsCounterTimer& Counters::spellcheck_init() {
36 static StatsCounterTimer* ctr = new StatsCounterTimer("SpellCheck.Init"); 36 static StatsCounterTimer* ctr = new StatsCounterTimer("SpellCheck.Init");
37 return *ctr; 37 return *ctr;
38 } 38 }
39 39
40 StatsRate& Counters::spellcheck_lookup() { 40 StatsRate& Counters::spellcheck_lookup() {
41 static StatsRate* ctr = new StatsRate("SpellCheck.Lookup"); 41 static StatsRate* ctr = new StatsRate("SpellCheck.Lookup");
42 return *ctr; 42 return *ctr;
43 } 43 }
44 44
45 StatsCounterTimer& Counters::plugin_load() {
46 static StatsCounterTimer* ctr = new StatsCounterTimer("ChromePlugin.Load");
47 return *ctr;
48 }
49
50 StatsRate& Counters::plugin_intercept() {
51 static StatsRate* ctr = new StatsRate("ChromePlugin.Intercept");
52 return *ctr;
53 }
54
55 } // namespace chrome 45 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_counters.h ('k') | chrome/common/chrome_paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698