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

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 <string>
9 #include <vector>
10
11 #include "base/memory/singleton.h"
12
13 namespace chromeos {
14
15 class SysLogsFetcher;
16
17 class SysLogsFetcherFactory {
18 public:
19 static SysLogsFetcherFactory* GetInstance();
20 SysLogsFetcher* CreateFetcher();
21
22 private:
23 SysLogsFetcherFactory() {}
24 ~SysLogsFetcherFactory() {}
25 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.
26
rkc 2012/08/06 18:30:18 DISALLOW_COPY_AND_ASSIGN? friend goes right below
tudalex(Chromium) 2012/08/06 19:14:22 Done.
27 };
28
29 } // namespace chromeos
30
31 #endif // CHROME_BROWSER_CHROMEOS_SYSLOGS_SYSLOGS_FETCHER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698