Chromium Code Reviews| Index: chrome/browser/chromeos/syslogs/syslogs_fetcher_factory.h |
| diff --git a/chrome/browser/chromeos/syslogs/syslogs_fetcher_factory.h b/chrome/browser/chromeos/syslogs/syslogs_fetcher_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1b4b502ffe1b9a7f8e53978b8cb4227f08592e54 |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/syslogs/syslogs_fetcher_factory.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_ |
| +#define CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "base/memory/singleton.h" |
| + |
| +namespace chromeos { |
| + |
| +class SysLogsFetcher; |
| + |
| +class SysLogsFetcherFactory { |
| + public: |
| + static SysLogsFetcherFactory* GetInstance(); |
| + SysLogsFetcher* CreateFetcher(); |
| + |
| + private: |
| + SysLogsFetcherFactory() {} |
| + ~SysLogsFetcherFactory() {} |
| + friend struct DefaultSingletonTraits<SysLogsFetcherFactory>; |
|
rkc
2012/08/06 18:30:18
Move the friend above the ctor/dtor, add a newline
tudalex(Chromium)
2012/08/06 19:14:22
Done.
|
| + |
|
rkc
2012/08/06 18:30:18
DISALLOW_COPY_AND_ASSIGN?
friend goes right below
tudalex(Chromium)
2012/08/06 19:14:22
Done.
|
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_ |