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

Side by Side Diff: components/content_settings/core/browser/content_settings_mock_provider.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) 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_ H_ 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_ H_
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_ H_ 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVIDER_ H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "components/content_settings/core/browser/content_settings_observable_p rovider.h" 11 #include "components/content_settings/core/browser/content_settings_observable_p rovider.h"
12 #include "components/content_settings/core/browser/content_settings_origin_ident ifier_value_map.h" 12 #include "components/content_settings/core/browser/content_settings_origin_ident ifier_value_map.h"
13 #include "components/content_settings/core/common/content_settings_pattern.h" 13 #include "components/content_settings/core/common/content_settings_pattern.h"
14 #include "components/content_settings/core/common/content_settings_types.h" 14 #include "components/content_settings/core/common/content_settings_types.h"
15 15
16 namespace content_settings { 16 namespace content_settings {
17 17
18 // The class MockProvider is a mock for a non default content settings provider. 18 // The class MockProvider is a mock for a non default content settings provider.
19 class MockProvider : public ObservableProvider { 19 class MockProvider : public ObservableProvider {
20 public: 20 public:
(...skipping 30 matching lines...) Expand all
51 private: 51 private:
52 OriginIdentifierValueMap value_map_; 52 OriginIdentifierValueMap value_map_;
53 bool read_only_; 53 bool read_only_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(MockProvider); 55 DISALLOW_COPY_AND_ASSIGN(MockProvider);
56 }; 56 };
57 57
58 } // namespace content_settings 58 } // namespace content_settings
59 59
60 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVID ER_H_ 60 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_MOCK_PROVID ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698