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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_appcache_helper.h" 5 #include "chrome/browser/browsing_data_appcache_helper.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "chrome/test/testing_browser_process_test.h" 8 #include "chrome/test/testing_browser_process_test.h"
9 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace { 12 namespace {
13 class TestCompletionCallback { 13 class TestCompletionCallback {
14 public: 14 public:
15 TestCompletionCallback() 15 TestCompletionCallback()
16 : have_result_(false) { 16 : have_result_(false) {
17 } 17 }
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 scoped_refptr<CannedBrowsingDataAppCacheHelper> helper( 97 scoped_refptr<CannedBrowsingDataAppCacheHelper> helper(
98 new CannedBrowsingDataAppCacheHelper(&profile)); 98 new CannedBrowsingDataAppCacheHelper(&profile));
99 99
100 ASSERT_TRUE(helper->empty()); 100 ASSERT_TRUE(helper->empty());
101 helper->AddAppCache(manifest); 101 helper->AddAppCache(manifest);
102 ASSERT_FALSE(helper->empty()); 102 ASSERT_FALSE(helper->empty());
103 helper->Reset(); 103 helper->Reset();
104 ASSERT_TRUE(helper->empty()); 104 ASSERT_TRUE(helper->empty());
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698