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

Side by Side Diff: chrome/browser/chromeos/login/mock_login_display_host.cc

Issue 223613003: Fix leak in MockLoginDisplayHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/chromeos/login/mock_login_display_host.h" 5 #include "chrome/browser/chromeos/login/mock_login_display_host.h"
6 6
7 #include "chrome/test/base/ui_test_utils.h" 7 #include "chrome/test/base/ui_test_utils.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 MockLoginDisplayHost::MockLoginDisplayHost() { 11 MockLoginDisplayHost::MockLoginDisplayHost() {
12 } 12 }
13 13
14 MockLoginDisplayHost::~MockLoginDisplayHost() { 14 MockLoginDisplayHost::~MockLoginDisplayHost() {
15 } 15 }
16 16
17 void MockLoginDisplayHost::StartWizard( 17 void MockLoginDisplayHost::StartWizard(
18 const std::string& name, 18 const std::string& name,
19 scoped_ptr<base::DictionaryValue> value) { 19 scoped_ptr<base::DictionaryValue> value) {
20 return StartWizardPtr(name, value.release()); 20 return StartWizardPtr(name, value.get());
21 } 21 }
22 22
23 } // namespace chromeos 23 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698