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

Side by Side Diff: rlz/lib/financial_ping.cc

Issue 19627002: Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « printing/printing_context_win.cc ('k') | sync/engine/sync_scheduler_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Library functions related to the Financial Server ping. 5 // Library functions related to the Financial Server ping.
6 6
7 #include "rlz/lib/financial_ping.h" 7 #include "rlz/lib/financial_ping.h"
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 27 matching lines...) Expand all
38 38
39 private: 39 private:
40 HINTERNET handle_; 40 HINTERNET handle_;
41 }; 41 };
42 42
43 } // namespace 43 } // namespace
44 44
45 #else 45 #else
46 46
47 #include "base/bind.h" 47 #include "base/bind.h"
48 #include "base/message_loop.h" 48 #include "base/message_loop/message_loop.h"
49 #include "base/run_loop.h" 49 #include "base/run_loop.h"
50 #include "base/time/time.h" 50 #include "base/time/time.h"
51 #include "net/base/load_flags.h" 51 #include "net/base/load_flags.h"
52 #include "net/url_request/url_fetcher.h" 52 #include "net/url_request/url_fetcher.h"
53 #include "net/url_request/url_fetcher_delegate.h" 53 #include "net/url_request/url_fetcher_delegate.h"
54 #include "net/url_request/url_request_context.h" 54 #include "net/url_request/url_request_context.h"
55 #include "net/url_request/url_request_context_getter.h" 55 #include "net/url_request/url_request_context_getter.h"
56 #include "url/gurl.h" 56 #include "url/gurl.h"
57 57
58 #endif 58 #endif
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 353
354 bool FinancialPing::ClearLastPingTime(Product product) { 354 bool FinancialPing::ClearLastPingTime(Product product) {
355 ScopedRlzValueStoreLock lock; 355 ScopedRlzValueStoreLock lock;
356 RlzValueStore* store = lock.GetStore(); 356 RlzValueStore* store = lock.GetStore();
357 if (!store || !store->HasAccess(RlzValueStore::kWriteAccess)) 357 if (!store || !store->HasAccess(RlzValueStore::kWriteAccess))
358 return false; 358 return false;
359 return store->ClearPingTime(product); 359 return store->ClearPingTime(product);
360 } 360 }
361 361
362 } // namespace 362 } // namespace
OLDNEW
« no previous file with comments | « printing/printing_context_win.cc ('k') | sync/engine/sync_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698