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

Side by Side Diff: components/content_settings/core/test/content_settings_test_utils.h

Issue 1546143002: Switch to standard integer types in components/, 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 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_ 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_ 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 #include "components/content_settings/core/browser/content_settings_utils.h" 11 #include "components/content_settings/core/browser/content_settings_utils.h"
11 12
12 namespace content_settings { 13 namespace content_settings {
13 14
14 class TestUtils { 15 class TestUtils {
15 public: 16 public:
16 // The following two functions return the content setting (represented as 17 // The following two functions return the content setting (represented as
17 // Value or directly the ContentSetting enum) from |provider| for the 18 // Value or directly the ContentSetting enum) from |provider| for the
(...skipping 26 matching lines...) Expand all
44 ContentSettingsPattern* primary_pattern, 45 ContentSettingsPattern* primary_pattern,
45 ContentSettingsPattern* secondary_pattern); 46 ContentSettingsPattern* secondary_pattern);
46 47
47 private: 48 private:
48 DISALLOW_IMPLICIT_CONSTRUCTORS(TestUtils); 49 DISALLOW_IMPLICIT_CONSTRUCTORS(TestUtils);
49 }; 50 };
50 51
51 } // namespace content_settings 52 } // namespace content_settings
52 53
53 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_ 54 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698