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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_
7 #pragma once
8 7
9 #include "chrome/browser/safe_browsing/safe_browsing_store.h" 8 #include "chrome/browser/safe_browsing/safe_browsing_store.h"
10 9
11 #include "crypto/sha2.h" 10 #include "crypto/sha2.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 // Helper code for testing that a SafeBrowsingStore implementation 13 // Helper code for testing that a SafeBrowsingStore implementation
15 // works to spec. 14 // works to spec.
16 15
17 // Helper to make it easy to initialize SBFullHash constants. 16 // Helper to make it easy to initialize SBFullHash constants.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 SafeBrowsingStoreTestSubKnockout(instance_name); \ 59 SafeBrowsingStoreTestSubKnockout(instance_name); \
61 } \ 60 } \
62 TEST_F(test_fixture, DeleteChunks) { \ 61 TEST_F(test_fixture, DeleteChunks) { \
63 SafeBrowsingStoreTestDeleteChunks(instance_name); \ 62 SafeBrowsingStoreTestDeleteChunks(instance_name); \
64 } \ 63 } \
65 TEST_F(test_fixture, Delete) { \ 64 TEST_F(test_fixture, Delete) { \
66 SafeBrowsingStoreTestDelete(instance_name, filename); \ 65 SafeBrowsingStoreTestDelete(instance_name, filename); \
67 } 66 }
68 67
69 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_ 68 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_UNITTEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store_file.h ('k') | chrome/browser/safe_browsing/safe_browsing_tab_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698