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

Side by Side Diff: chrome/browser/chromeos/system/syslogs_provider.cc

Issue 225183018: Move feedback files into src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest Created 6 years, 7 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/system/syslogs_provider.h" 5 #include "chrome/browser/chromeos/system/syslogs_provider.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/singleton.h" 16 #include "base/memory/singleton.h"
17 #include "base/message_loop/message_loop_proxy.h" 17 #include "base/message_loop/message_loop_proxy.h"
18 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
19 #include "base/task_runner.h" 19 #include "base/task_runner.h"
20 #include "base/threading/sequenced_worker_pool.h" 20 #include "base/threading/sequenced_worker_pool.h"
21 #include "chrome/browser/feedback/feedback_util.h"
22 #include "chrome/browser/memory_details.h" 21 #include "chrome/browser/memory_details.h"
23 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
24 #include "chromeos/network/network_event_log.h" 23 #include "chromeos/network/network_event_log.h"
24 #include "components/feedback/feedback_util.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "dbus/dbus_statistics.h" 26 #include "dbus/dbus_statistics.h"
27 27
28 using content::BrowserThread; 28 using content::BrowserThread;
29 29
30 namespace chromeos { 30 namespace chromeos {
31 namespace system { 31 namespace system {
32 32
33 const size_t kFeedbackMaxLength = 4 * 1024; 33 const size_t kFeedbackMaxLength = 4 * 1024;
34 const size_t kFeedbackMaxLineCount = 40; 34 const size_t kFeedbackMaxLineCount = 40;
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 return Singleton<SyslogsProviderImpl, 399 return Singleton<SyslogsProviderImpl,
400 DefaultSingletonTraits<SyslogsProviderImpl> >::get(); 400 DefaultSingletonTraits<SyslogsProviderImpl> >::get();
401 } 401 }
402 402
403 SyslogsProvider* SyslogsProvider::GetInstance() { 403 SyslogsProvider* SyslogsProvider::GetInstance() {
404 return SyslogsProviderImpl::GetInstance(); 404 return SyslogsProviderImpl::GetInstance();
405 } 405 }
406 406
407 } // namespace system 407 } // namespace system
408 } // namespace chromeos 408 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698