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

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

Issue 6713032: Provide lazy CommitPendingWrites in addition to eager SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed notification + rebase Created 9 years, 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/owner_manager.h" 5 #include "chrome/browser/chromeos/login/owner_manager.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 BrowserThread::PostTask( 123 BrowserThread::PostTask(
124 thread_id, FROM_HERE, 124 thread_id, FROM_HERE,
125 NewRunnableMethod(this, 125 NewRunnableMethod(this,
126 &OwnerManager::CallDelegate, 126 &OwnerManager::CallDelegate,
127 d, return_code, std::vector<uint8>())); 127 d, return_code, std::vector<uint8>()));
128 BootTimesLoader::Get()->AddLoginTimeMarker("VerifyEnd", false); 128 BootTimesLoader::Get()->AddLoginTimeMarker("VerifyEnd", false);
129 } 129 }
130 130
131 void OwnerManager::SendNotification(NotificationType type, 131 void OwnerManager::SendNotification(NotificationType type,
132 const NotificationDetails& details) { 132 const NotificationDetails& details) {
133 NotificationService::current()->Notify( 133 NotificationService::current()->Notify(
134 type, 134 type,
135 NotificationService::AllSources(), 135 NotificationService::AllSources(),
136 details); 136 details);
137 } 137 }
138 138
139 } // namespace chromeos 139 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698