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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_appcache_helper_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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 (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 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/macros.h"
11 #include "base/stl_util.h" 12 #include "base/stl_util.h"
12 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
13 #include "content/public/test/test_browser_thread_bundle.h" 14 #include "content/public/test/test_browser_thread_bundle.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace { 17 namespace {
17 class TestCompletionCallback { 18 class TestCompletionCallback {
18 public: 19 public:
19 TestCompletionCallback() {} 20 TestCompletionCallback() {}
20 21
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 149
149 scoped_refptr<CannedBrowsingDataAppCacheHelper> helper( 150 scoped_refptr<CannedBrowsingDataAppCacheHelper> helper(
150 new CannedBrowsingDataAppCacheHelper(&profile)); 151 new CannedBrowsingDataAppCacheHelper(&profile));
151 152
152 ASSERT_TRUE(helper->empty()); 153 ASSERT_TRUE(helper->empty());
153 helper->AddAppCache(manifest1); 154 helper->AddAppCache(manifest1);
154 ASSERT_TRUE(helper->empty()); 155 ASSERT_TRUE(helper->empty());
155 helper->AddAppCache(manifest2); 156 helper->AddAppCache(manifest2);
156 ASSERT_TRUE(helper->empty()); 157 ASSERT_TRUE(helper->empty());
157 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698