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

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

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #if defined(BROWSER_SYNC)
6
7 #include "chrome/browser/sync/glue/http_bridge.h" 5 #include "chrome/browser/sync/glue/http_bridge.h"
8 6
9 #include "base/message_loop.h" 7 #include "base/message_loop.h"
10 #include "base/string_util.h" 8 #include "base/string_util.h"
11 #include "chrome/browser/chrome_thread.h" 9 #include "chrome/browser/chrome_thread.h"
12 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
13 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
14 #include "net/base/cookie_monster.h" 12 #include "net/base/cookie_monster.h"
15 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
16 #include "net/http/http_cache.h" 14 #include "net/http/http_cache.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // URLFetcher, so it seems most natural / "polite" to let the stack unwind. 229 // URLFetcher, so it seems most natural / "polite" to let the stack unwind.
232 MessageLoop::current()->DeleteSoon(FROM_HERE, url_poster_); 230 MessageLoop::current()->DeleteSoon(FROM_HERE, url_poster_);
233 url_poster_ = NULL; 231 url_poster_ = NULL;
234 232
235 // Wake the blocked syncer thread in MakeSynchronousPost. 233 // Wake the blocked syncer thread in MakeSynchronousPost.
236 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted! 234 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted!
237 http_post_completed_.Signal(); 235 http_post_completed_.Signal();
238 } 236 }
239 237
240 } // namespace browser_sync 238 } // namespace browser_sync
241
242 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/http_bridge.h ('k') | chrome/browser/sync/glue/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698