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

Side by Side Diff: chrome/browser/chromeos/system/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_SYSTEM_SYSLOGS_FETCHER_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_FETCHER_FACTORY_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/bind.h"
12 #include "base/bind_helpers.h"
13 #include "base/callback.h"
14 #include "base/memory/singleton.h"
15 #include "base/synchronization/lock.h"
rkc1 2012/08/04 01:15:05 Don't need several of these headers.
tudalex(Chromium) 2012/08/05 01:15:12 Done.
16 #include "chrome/browser/chromeos/system/syslogs_fetcher.h"
rkc1 2012/08/04 01:15:05 Replace this include with, class SysLogFetcher;
tudalex(Chromium) 2012/08/05 01:15:12 Done.
17
18 namespace chromeos {
19 namespace system {
rkc1 2012/08/04 01:15:05 This namespace is unnecessary. Also, move the logs
tudalex(Chromium) 2012/08/05 01:15:12 Done.
20
21 class SysLogsFetcherFactory {
22 public:
23 static SysLogsFetcherFactory* GetInstance();
24 SysLogsFetcher * GetFetcher();
rkc1 2012/08/04 01:15:05 SysLogsFetcher*
tudalex(Chromium) 2012/08/05 01:15:12 Done.
25
26 private:
27 SysLogsFetcherFactory() {}
28 ~SysLogsFetcherFactory() {}
rkc1 2012/08/04 01:15:05 Run Clang bots to make sure this is kosher.
tudalex(Chromium) 2012/08/05 01:15:12 Need rights first.
29 friend struct DefaultSingletonTraits<SysLogsFetcherFactory>;
30 };
31
32 } // namespace system
33 } // namespace chromeos
34
35 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_FETCHER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698