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

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

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/http_bridge.h" 5 #include "chrome/browser/sync/glue/http_bridge.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/profiles/profile.h"
12 #include "net/base/cookie_monster.h" 11 #include "net/base/cookie_monster.h"
13 #include "net/base/host_resolver.h" 12 #include "net/base/host_resolver.h"
14 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
15 #include "net/http/http_cache.h" 14 #include "net/http/http_cache.h"
16 #include "net/http/http_network_layer.h" 15 #include "net/http/http_network_layer.h"
17 #include "net/http/http_response_headers.h" 16 #include "net/http/http_response_headers.h"
18 #include "net/proxy/proxy_service.h" 17 #include "net/proxy/proxy_service.h"
19 #include "net/url_request/url_request_context.h" 18 #include "net/url_request/url_request_context.h"
20 #include "net/url_request/url_request_status.h" 19 #include "net/url_request/url_request_status.h"
21 #include "webkit/glue/webkit_glue.h" 20 #include "webkit/glue/webkit_glue.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // URLFetcher, so it seems most natural / "polite" to let the stack unwind. 238 // URLFetcher, so it seems most natural / "polite" to let the stack unwind.
240 MessageLoop::current()->DeleteSoon(FROM_HERE, url_poster_); 239 MessageLoop::current()->DeleteSoon(FROM_HERE, url_poster_);
241 url_poster_ = NULL; 240 url_poster_ = NULL;
242 241
243 // Wake the blocked syncer thread in MakeSynchronousPost. 242 // Wake the blocked syncer thread in MakeSynchronousPost.
244 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted! 243 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted!
245 http_post_completed_.Signal(); 244 http_post_completed_.Signal();
246 } 245 }
247 246
248 } // namespace browser_sync 247 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698