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

Side by Side Diff: chrome/browser/chromeos/settings/session_manager_operation.cc

Issue 297163008: Added initialization of SessionManagerOperation::slot_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« 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 (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/settings/session_manager_operation.h" 5 #include "chrome/browser/chromeos/settings/session_manager_operation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 13 matching lines...) Expand all
24 24
25 namespace em = enterprise_management; 25 namespace em = enterprise_management;
26 26
27 namespace chromeos { 27 namespace chromeos {
28 28
29 SessionManagerOperation::SessionManagerOperation(const Callback& callback) 29 SessionManagerOperation::SessionManagerOperation(const Callback& callback)
30 : session_manager_client_(NULL), 30 : session_manager_client_(NULL),
31 weak_factory_(this), 31 weak_factory_(this),
32 callback_(callback), 32 callback_(callback),
33 force_key_load_(false), 33 force_key_load_(false),
34 slot_(NULL),
34 is_loading_(false) {} 35 is_loading_(false) {}
35 36
36 SessionManagerOperation::~SessionManagerOperation() {} 37 SessionManagerOperation::~SessionManagerOperation() {}
37 38
38 void SessionManagerOperation::Start( 39 void SessionManagerOperation::Start(
39 SessionManagerClient* session_manager_client, 40 SessionManagerClient* session_manager_client,
40 scoped_refptr<OwnerKeyUtil> owner_key_util, 41 scoped_refptr<OwnerKeyUtil> owner_key_util,
41 scoped_refptr<OwnerKey> owner_key) { 42 scoped_refptr<OwnerKey> owner_key) {
42 session_manager_client_ = session_manager_client; 43 session_manager_client_ = session_manager_client;
43 owner_key_util_ = owner_key_util; 44 owner_key_util_ = owner_key_util;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 } 330 }
330 331
331 void SignAndStoreSettingsOperation::HandleStoreResult(bool success) { 332 void SignAndStoreSettingsOperation::HandleStoreResult(bool success) {
332 if (!success) 333 if (!success)
333 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED); 334 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED);
334 else 335 else
335 StartLoading(); 336 StartLoading();
336 } 337 }
337 338
338 } // namespace chromeos 339 } // 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