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

Side by Side Diff: content/public/browser/histogram_fetcher.h

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Property Changes:
Added: svn:executable
## -0,0 +1 ##
+*
Added: svn:eol-style
## -0,0 +1 ##
+LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_HISTOGRAM_FETCHER_H_
6 #define CONTENT_PUBLIC_BROWSER_HISTOGRAM_FETCHER_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/callback.h"
11 #include "base/time.h"
12 #include "content/common/content_export.h"
13
14 class MessageLoop;
15
16 namespace content {
17
18 // Fetch histogram data asynchronously from the various child processes, into
19 // the browser process. This method is used by the metrics services in
20 // preparation for a log upload. It contacts all processes, and get them to
21 // upload to the browser any/all changes to histograms. When all changes have
22 // been acquired, or when the wait time expires (whichever is sooner), post the
23 // callback to the specified message loop. Note the callback is posted exactly
24 // once.
25 CONTENT_EXPORT void FetchHistogramsAsynchronously(MessageLoop* callback_thread,
26 const base::Closure& callback,
27 base::TimeDelta wait_time);
28 } // namespace content
29
30 #endif // CONTENT_PUBLIC_BROWSER_HISTOGRAM_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698