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: chrome/browser/safe_browsing/incident_reporting/platform_state_store_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/safe_browsing/incident_reporting/platform_state_store.h " 5 #include "chrome/browser/safe_browsing/incident_reporting/platform_state_store.h "
6 6
7 #if defined(USE_PLATFORM_STATE_STORE) 7 #if defined(USE_PLATFORM_STATE_STORE)
8 8
9 #include <stdint.h>
10
9 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 14 #include "base/values.h"
13 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
14 16
15 namespace safe_browsing { 17 namespace safe_browsing {
16 namespace platform_state_store { 18 namespace platform_state_store {
17 19
18 namespace { 20 namespace {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 PlatformStateStoreLoadResult load_result = 73 PlatformStateStoreLoadResult load_result =
72 DeserializeIncidentsSent(data, deserialized.get()); 74 DeserializeIncidentsSent(data, deserialized.get());
73 ASSERT_EQ(PlatformStateStoreLoadResult::SUCCESS, load_result); 75 ASSERT_EQ(PlatformStateStoreLoadResult::SUCCESS, load_result);
74 ASSERT_TRUE(deserialized->Equals(incidents_sent.get())); 76 ASSERT_TRUE(deserialized->Equals(incidents_sent.get()));
75 } 77 }
76 78
77 } // namespace platform_state_store 79 } // namespace platform_state_store
78 } // namespace safe_browsing 80 } // namespace safe_browsing
79 81
80 #endif // USE_PLATFORM_STATE_STORE 82 #endif // USE_PLATFORM_STATE_STORE
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698