OLD | NEW |
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 CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
15 #include "base/scoped_observer.h" | 17 #include "base/scoped_observer.h" |
| 18 #include "build/build_config.h" |
16 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 19 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
17 #include "chrome/browser/content_settings/local_shared_objects_container.h" | 20 #include "chrome/browser/content_settings/local_shared_objects_container.h" |
18 #include "chrome/common/custom_handlers/protocol_handler.h" | 21 #include "chrome/common/custom_handlers/protocol_handler.h" |
19 #include "components/content_settings/core/browser/content_settings_observer.h" | 22 #include "components/content_settings/core/browser/content_settings_observer.h" |
20 #include "components/content_settings/core/browser/content_settings_usages_state
.h" | 23 #include "components/content_settings/core/browser/content_settings_usages_state
.h" |
21 #include "components/content_settings/core/common/content_settings.h" | 24 #include "components/content_settings/core/common/content_settings.h" |
22 #include "components/content_settings/core/common/content_settings_types.h" | 25 #include "components/content_settings/core/common/content_settings_types.h" |
23 #include "content/public/browser/web_contents_observer.h" | 26 #include "content/public/browser/web_contents_observer.h" |
24 #include "content/public/browser/web_contents_user_data.h" | 27 #include "content/public/browser/web_contents_user_data.h" |
25 #include "net/cookies/canonical_cookie.h" | 28 #include "net/cookies/canonical_cookie.h" |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 std::string media_stream_requested_audio_device_; | 466 std::string media_stream_requested_audio_device_; |
464 std::string media_stream_requested_video_device_; | 467 std::string media_stream_requested_video_device_; |
465 | 468 |
466 // Observer to watch for content settings changed. | 469 // Observer to watch for content settings changed. |
467 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 470 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
468 | 471 |
469 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 472 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
470 }; | 473 }; |
471 | 474 |
472 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 475 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
OLD | NEW |