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

Side by Side Diff: chrome/browser/sync/glue/password_model_worker.cc

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/sync/glue/password_model_worker.h" 5 #include "chrome/browser/sync/glue/password_model_worker.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "base/waitable_event.h" 10 #include "base/waitable_event.h"
(...skipping 17 matching lines...) Expand all
28 work, &done)); 28 work, &done));
29 done.Wait(); 29 done.Wait();
30 } 30 }
31 31
32 void PasswordModelWorker::CallDoWorkAndSignalTask(Callback0::Type* work, 32 void PasswordModelWorker::CallDoWorkAndSignalTask(Callback0::Type* work,
33 WaitableEvent* done) { 33 WaitableEvent* done) {
34 work->Run(); 34 work->Run();
35 done->Signal(); 35 done->Signal();
36 } 36 }
37 37
38 ModelSafeGroup PasswordModelWorker::GetModelSafeGroup() {
39 return GROUP_PASSWORD;
40 }
41
38 bool PasswordModelWorker::CurrentThreadIsWorkThread() { 42 bool PasswordModelWorker::CurrentThreadIsWorkThread() {
39 // TODO(ncarter): How to determine this? 43 // TODO(ncarter): How to determine this?
40 return true; 44 return true;
41 } 45 }
42 46
43 } // namespace browser_sync 47 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698