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

Side by Side Diff: chrome/browser/metrics/first_web_contents_profiler.h

Issue 1886913002: Convert //chrome/browser/metrics from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ 5 #ifndef CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_
6 #define CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ 6 #define CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
11 12
12 namespace content { 13 namespace content {
13 class WebContents; 14 class WebContents;
14 } // namespace content 15 } // namespace content
15 16
16 // Measures start up performance of the first active web contents. 17 // Measures start up performance of the first active web contents.
17 // This class is declared on all platforms, but only defined on non-Android 18 // This class is declared on all platforms, but only defined on non-Android
18 // platforms. Android code should not call any non-trivial methods on this 19 // platforms. Android code should not call any non-trivial methods on this
19 // class. 20 // class.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 79
79 // Whether core metric collection is complete. Used to keep reporting old 80 // Whether core metric collection is complete. Used to keep reporting old
80 // stats post abandon to give us an intra-milestone comparison basis initially 81 // stats post abandon to give us an intra-milestone comparison basis initially
81 // between the old and new stats. TODO(gab): Remove this in M49. 82 // between the old and new stats. TODO(gab): Remove this in M49.
82 bool finished_; 83 bool finished_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(FirstWebContentsProfiler); 85 DISALLOW_COPY_AND_ASSIGN(FirstWebContentsProfiler);
85 }; 86 };
86 87
87 #endif // CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ 88 #endif // CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698