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

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

Issue 16358024: Use a direct include of strings headers in rlz/, sandbox/, skia/, sql/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « rlz/chromeos/lib/rlz_value_store_chromeos.cc ('k') | rlz/lib/financial_ping_test.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"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "rlz/lib/assert.h" 14 #include "rlz/lib/assert.h"
15 #include "rlz/lib/lib_values.h" 15 #include "rlz/lib/lib_values.h"
16 #include "rlz/lib/machine_id.h" 16 #include "rlz/lib/machine_id.h"
17 #include "rlz/lib/rlz_lib.h" 17 #include "rlz/lib/rlz_lib.h"
18 #include "rlz/lib/rlz_value_store.h" 18 #include "rlz/lib/rlz_value_store.h"
19 #include "rlz/lib/string_utils.h" 19 #include "rlz/lib/string_utils.h"
20 20
21 #if !defined(OS_WIN) 21 #if !defined(OS_WIN)
22 #include "base/time.h" 22 #include "base/time.h"
(...skipping 330 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 | « rlz/chromeos/lib/rlz_value_store_chromeos.cc ('k') | rlz/lib/financial_ping_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698