OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authos. All rights reserved. | 1 // Copyright (c) 2009 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 "base/file_path.h" | 5 #include "base/file_path.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
8 #include "base/scoped_temp_dir.h" | 8 #include "base/scoped_temp_dir.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "webkit/database/database_tracker.h" | 11 #include "webkit/database/database_tracker.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // DatabaseModified() still calls the observers with correct values. | 171 // DatabaseModified() still calls the observers with correct values. |
172 tracker->CloseTrackerDatabaseAndClearCaches(); | 172 tracker->CloseTrackerDatabaseAndClearCaches(); |
173 tracker->DatabaseModified(kOrigin1, kDB3); | 173 tracker->DatabaseModified(kOrigin1, kDB3); |
174 CheckNotificationReceived(&observer1, kOrigin1, kDB3, 6, kDefaultQuota - 11); | 174 CheckNotificationReceived(&observer1, kOrigin1, kDB3, 6, kDefaultQuota - 11); |
175 | 175 |
176 // Clean up. | 176 // Clean up. |
177 tracker->RemoveObserver(&observer1); | 177 tracker->RemoveObserver(&observer1); |
178 } | 178 } |
179 | 179 |
180 } // namespace webkit_database | 180 } // namespace webkit_database |
OLD | NEW |