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

Unified Diff: components/feedback/feedback_data.cc

Issue 225183018: Move feedback files into src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove chrome/ from gyp files Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/feedback/feedback_data.cc
diff --git a/chrome/browser/feedback/feedback_data.cc b/components/feedback/feedback_data.cc
similarity index 94%
rename from chrome/browser/feedback/feedback_data.cc
rename to components/feedback/feedback_data.cc
index e5dde6a12b084bb961ee8ec0d95b4ae9644e661d..82f974f3a68291c3f081eaf07b5affff82e662d5 100644
--- a/chrome/browser/feedback/feedback_data.cc
+++ b/components/feedback/feedback_data.cc
@@ -2,25 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/feedback/feedback_data.h"
+#include "components/feedback/feedback_data.h"
#include "base/file_util.h"
#include "base/json/json_string_value_serializer.h"
+#include "base/memory/ref_counted_memory.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chromeos/settings/cros_settings.h"
-#include "chrome/browser/feedback/feedback_util.h"
-#include "chrome/browser/feedback/tracing_manager.h"
-#include "chrome/browser/profiles/profile_manager.h"
+#include "components/feedback/feedback_util.h"
+#include "components/feedback/tracing_manager.h"
#include "content/public/browser/browser_thread.h"
-#if defined(USE_ASH)
-#include "ash/shell.h"
-#include "ash/shell_delegate.h"
-#endif
-
using content::BrowserThread;
namespace {
@@ -113,7 +106,7 @@ bool FeedbackData::BelowCompressionThreshold(const std::string& content) {
return true;
}
-FeedbackData::FeedbackData() : profile_(NULL),
+FeedbackData::FeedbackData() : context_(NULL),
trace_id_(0),
feedback_page_data_complete_(false),
syslogs_compression_complete_(false),

Powered by Google App Engine
This is Rietveld 408576698