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
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_TRACING_FILE_TRACING_PROVIDER_IMPL_H_
6 #define CONTENT_BROWSER_TRACING_FILE_TRACING_PROVIDER_IMPL_H_
8 #include "base/files/file_tracing.h"
9 #include "base/macros.h"
13 extern const char kFileTracingEventCategoryGroup
[];
15 class FileTracingProviderImpl
: public base::FileTracing::Provider
{
17 FileTracingProviderImpl();
18 ~FileTracingProviderImpl() override
;
20 // base::FileTracing::Provider:
21 bool FileTracingCategoryIsEnabled() const override
;
22 void FileTracingEnable(void* id
) override
;
23 void FileTracingDisable(void* id
) override
;
24 void FileTracingEventBegin(const char* name
, void* id
,
25 const base::FilePath
& path
, int64 size
) override
;
26 void FileTracingEventEnd(const char* name
, void* id
) override
;
29 DISALLOW_COPY_AND_ASSIGN(FileTracingProviderImpl
);
32 } // namespace content
34 #endif // CONTENT_BROWSER_TRACING_FILE_TRACING_PROVIDER_IMPL_H_