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

Side by Side Diff: chrome/browser/chromeos/system_logs/touch_log_source.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_logs/touch_log_source.h" 5 #include "chrome/browser/chromeos/system_logs/touch_log_source.h"
6 6
7 #include "ash/touch/touch_hud_debug.h" 7 #include "ash/touch/touch_hud_debug.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_string_value_serializer.h" 10 #include "base/json/json_string_value_serializer.h"
11 #include "base/process/launch.h" 11 #include "base/process/launch.h"
12 #include "chrome/browser/feedback/feedback_util.h" 12 #include "components/feedback/feedback_util.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 using content::BrowserThread; 15 using content::BrowserThread;
16 16
17 namespace { 17 namespace {
18 18
19 const char kHUDLogDataKey[] = "hud_log"; 19 const char kHUDLogDataKey[] = "hud_log";
20 20
21 void GetTouchLogs(system_logs::SystemLogsResponse* response) { 21 void GetTouchLogs(system_logs::SystemLogsResponse* response) {
22 scoped_ptr<base::DictionaryValue> dictionary = 22 scoped_ptr<base::DictionaryValue> dictionary =
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 DCHECK(!callback.is_null()); 66 DCHECK(!callback.is_null());
67 67
68 SystemLogsResponse* response = new SystemLogsResponse; 68 SystemLogsResponse* response = new SystemLogsResponse;
69 BrowserThread::PostBlockingPoolTaskAndReply( 69 BrowserThread::PostBlockingPoolTaskAndReply(
70 FROM_HERE, 70 FROM_HERE,
71 base::Bind(&GetTouchLogs, response), 71 base::Bind(&GetTouchLogs, response),
72 base::Bind(callback, base::Owned(response))); 72 base::Bind(callback, base::Owned(response)));
73 } 73 }
74 74
75 } // namespace system_logs 75 } // namespace system_logs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698