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

Side by Side Diff: chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/extensions/api/feedback_private/feedback_service.h" 5 #include "chrome/browser/extensions/api/feedback_private/feedback_service.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/metrics/statistics_recorder.h" 9 #include "base/metrics/statistics_recorder.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/chromeos/login/user_manager.h" 11 #include "chrome/browser/chromeos/login/users/user_manager.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class FeedbackServiceImpl 15 class FeedbackServiceImpl
16 : public FeedbackService, 16 : public FeedbackService,
17 public base::SupportsWeakPtr<FeedbackServiceImpl> { 17 public base::SupportsWeakPtr<FeedbackServiceImpl> {
18 public: 18 public:
19 FeedbackServiceImpl(); 19 FeedbackServiceImpl();
20 virtual ~FeedbackServiceImpl(); 20 virtual ~FeedbackServiceImpl();
21 21
(...skipping 27 matching lines...) Expand all
49 49
50 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { 50 void FeedbackServiceImpl::GetHistograms(std::string* histograms) {
51 *histograms = base::StatisticsRecorder::ToJSON(std::string()); 51 *histograms = base::StatisticsRecorder::ToJSON(std::string());
52 } 52 }
53 53
54 base::WeakPtr<FeedbackService> FeedbackServiceImpl::GetWeakPtr() { 54 base::WeakPtr<FeedbackService> FeedbackServiceImpl::GetWeakPtr() {
55 return AsWeakPtr(); 55 return AsWeakPtr();
56 } 56 }
57 57
58 } // namespace extensions 58 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698