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 "chrome/browser/ui/browser_list_observer.h" | 8 #include "chrome/browser/ui/browser_list_observer.h" |
9 #include "content/public/browser/tracing_delegate.h" | 9 #include "content/public/browser/tracing_delegate.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 bool IsAllowedToBeginBackgroundScenario( | 24 bool IsAllowedToBeginBackgroundScenario( |
25 const content::BackgroundTracingConfig& config, | 25 const content::BackgroundTracingConfig& config, |
26 bool requires_anonymized_data) override; | 26 bool requires_anonymized_data) override; |
27 | 27 |
28 bool IsAllowedToEndBackgroundScenario( | 28 bool IsAllowedToEndBackgroundScenario( |
29 const content::BackgroundTracingConfig& config, | 29 const content::BackgroundTracingConfig& config, |
30 bool requires_anonymized_data) override; | 30 bool requires_anonymized_data) override; |
31 | 31 |
32 void GenerateMetadataDict(base::DictionaryValue* metadata_dict) override; | 32 void GenerateMetadataDict(base::DictionaryValue* metadata_dict) override; |
33 | 33 |
| 34 content::MetadataFilterPredicate GetMetadataFilterPredicate() override; |
| 35 |
34 private: | 36 private: |
35 // chrome::BrowserListObserver implementation. | 37 // chrome::BrowserListObserver implementation. |
36 void OnBrowserAdded(Browser* browser) override; | 38 void OnBrowserAdded(Browser* browser) override; |
37 | 39 |
38 bool incognito_launched_; | 40 bool incognito_launched_; |
39 }; | 41 }; |
40 | 42 |
41 #endif // CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ | 43 #endif // CHROME_BROWSER_TRACING_CHROME_TRACING_DELEGATE_H_ |
OLD | NEW |