| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TRACING_CHROME_TRACING_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ | 6 #define CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "chrome/browser/ui/browser_list_observer.h" | 9 #include "chrome/browser/ui/browser_list_observer.h" |
| 9 #include "content/public/browser/tracing_delegate.h" | 10 #include "content/public/browser/tracing_delegate.h" |
| 10 | 11 |
| 11 class PrefRegistrySimple; | 12 class PrefRegistrySimple; |
| 12 | 13 |
| 13 class ChromeTracingDelegate : public content::TracingDelegate, | 14 class ChromeTracingDelegate : public content::TracingDelegate, |
| 14 public chrome::BrowserListObserver { | 15 public chrome::BrowserListObserver { |
| 15 public: | 16 public: |
| 16 ChromeTracingDelegate(); | 17 ChromeTracingDelegate(); |
| 17 ~ChromeTracingDelegate() override; | 18 ~ChromeTracingDelegate() override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 content::MetadataFilterPredicate GetMetadataFilterPredicate() override; | 35 content::MetadataFilterPredicate GetMetadataFilterPredicate() override; |
| 35 | 36 |
| 36 private: | 37 private: |
| 37 // chrome::BrowserListObserver implementation. | 38 // chrome::BrowserListObserver implementation. |
| 38 void OnBrowserAdded(Browser* browser) override; | 39 void OnBrowserAdded(Browser* browser) override; |
| 39 | 40 |
| 40 bool incognito_launched_; | 41 bool incognito_launched_; |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 #endif // CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ | 44 #endif // CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ |
| OLD | NEW |