| Index: content/browser/power_profiler/power_data_provider_factory.h
|
| diff --git a/content/browser/power_profiler/power_data_provider_factory.h b/content/browser/power_profiler/power_data_provider_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a8322e17f64e11567fdd01fdf7af6b828237f6f5
|
| --- /dev/null
|
| +++ b/content/browser/power_profiler/power_data_provider_factory.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_FACTORY_H_
|
| +#define CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_FACTORY_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "content/browser/power_profiler/power_data_provider.h"
|
| +
|
| +namespace content {
|
| +
|
| +class PowerDataProviderFactory {
|
| + public:
|
| + // Create a provider, and transfer the ownership to PowerProfilerService.
|
| + static scoped_ptr<PowerDataProvider> Create();
|
| +
|
| + private:
|
| + PowerDataProviderFactory() {}
|
| + DISALLOW_COPY_AND_ASSIGN(PowerDataProviderFactory);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_FACTORY_H_
|
|
|