Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/browser/chromeos/syslogs/syslogs_fetcher_factory.h

Issue 10827130: Refactoring the SysInfoProvider. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_
7
8 #include "base/memory/singleton.h"
9
10 namespace chromeos {
11
12 class SysLogsFetcher;
13
14 // Provides a singleton SysLogsFetcherFactory that can be used to create
15 // a SysLogsFetcher object that is used to fetch logs.
16 class SysLogsFetcherFactory {
17 public:
18 static SysLogsFetcherFactory* GetInstance();
satorux1 2012/08/07 01:15:07 the indentation is off.
tudalex(Chromium) 2012/08/07 23:46:54 Done.
19 SysLogsFetcher* CreateFetcher();
20
21 private:
22 friend struct DefaultSingletonTraits<SysLogsFetcherFactory>;
23
24 SysLogsFetcherFactory() {}
25 ~SysLogsFetcherFactory() {}
26
27 DISALLOW_COPY_AND_ASSIGN(SysLogsFetcherFactory);
28
satorux1 2012/08/07 01:15:07 no blank line here
tudalex(Chromium) 2012/08/07 23:46:54 Done.
29 };
30
31 } // namespace chromeos
32
33 #endif // CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698