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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
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 #ifndef CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_
6 #define CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ 6 #define CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/tracked_objects.h" 11 #include "base/tracked_objects.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 13
14
15 namespace base {
16 class DictionaryValue;
17 }
18
19 namespace content { 14 namespace content {
20 15
21 class ProfilerSubscriber; 16 class ProfilerSubscriber;
22 17
23 // ProfilerController is used on the browser process to collect profiler data. 18 // ProfilerController is used on the browser process to collect profiler data.
24 // Only the browser UI thread is allowed to interact with the ProfilerController 19 // Only the browser UI thread is allowed to interact with the ProfilerController
25 // object. 20 // object.
26 class CONTENT_EXPORT ProfilerController { 21 class CONTENT_EXPORT ProfilerController {
27 public: 22 public:
28 // Returns the ProfilerController object for the current process, or nullptr 23 // Returns the ProfilerController object for the current process, or nullptr
(...skipping 19 matching lines...) Expand all
48 int current_profiling_phase) = 0; 43 int current_profiling_phase) = 0;
49 44
50 // Contact child processes and notify them that the |profiling_phase| has 45 // Contact child processes and notify them that the |profiling_phase| has
51 // completed. 46 // completed.
52 virtual void OnProfilingPhaseCompleted(int profiling_phase) = 0; 47 virtual void OnProfilingPhaseCompleted(int profiling_phase) = 0;
53 }; 48 };
54 49
55 } // namespace content 50 } // namespace content
56 51
57 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ 52 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/public/browser/message_port_provider.h ('k') | content/public/browser/push_messaging_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698