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

Side by Side Diff: components/webdata/common/web_data_request_manager.cc

Issue 19403002: Use a direct include of the message_loop header in cc/, chrome_frame/, cloud_print/, components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/webdata/common/web_data_request_manager.h" 5 #include "components/webdata/common/web_data_request_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 10
11 //////////////////////////////////////////////////////////////////////////////// 11 ////////////////////////////////////////////////////////////////////////////////
12 // 12 //
13 // WebDataRequest implementation. 13 // WebDataRequest implementation.
14 // 14 //
15 //////////////////////////////////////////////////////////////////////////////// 15 ////////////////////////////////////////////////////////////////////////////////
16 16
17 WebDataRequest::WebDataRequest(WebDataServiceConsumer* consumer, 17 WebDataRequest::WebDataRequest(WebDataServiceConsumer* consumer,
18 WebDataRequestManager* manager) 18 WebDataRequestManager* manager)
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 if (!request->IsCancelled()) { 136 if (!request->IsCancelled()) {
137 WebDataServiceConsumer* consumer = request->GetConsumer(); 137 WebDataServiceConsumer* consumer = request->GetConsumer();
138 request->OnComplete(); 138 request->OnComplete();
139 if (consumer) { 139 if (consumer) {
140 scoped_ptr<WDTypedResult> r = request->GetResult(); 140 scoped_ptr<WDTypedResult> r = request->GetResult();
141 consumer->OnWebDataServiceRequestDone(request->GetHandle(), r.get()); 141 consumer->OnWebDataServiceRequestDone(request->GetHandle(), r.get());
142 } 142 }
143 } 143 }
144 144
145 } 145 }
OLDNEW
« no previous file with comments | « components/visitedlink/test/visitedlink_unittest.cc ('k') | components/webdata/common/web_data_service_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698