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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_cache_storage_helper_browsertest.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 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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
9 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
12 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
13 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h" 13 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h"
15 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h" 14 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h"
16 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 TestCompletionCallback callback; 65 TestCompletionCallback callback;
67 helper->StartFetching(base::Bind(&TestCompletionCallback::callback, 66 helper->StartFetching(base::Bind(&TestCompletionCallback::callback,
68 base::Unretained(&callback))); 67 base::Unretained(&callback)));
69 68
70 std::list<content::CacheStorageUsageInfo> result = callback.result(); 69 std::list<content::CacheStorageUsageInfo> result = callback.result();
71 70
72 ASSERT_EQ(1U, result.size()); 71 ASSERT_EQ(1U, result.size());
73 EXPECT_EQ(origin, result.begin()->origin); 72 EXPECT_EQ(origin, result.begin()->origin);
74 } 73 }
75 } // namespace 74 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698