| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
| 15 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 15 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
| 16 #include "chrome/browser/content_settings/content_settings_usages_state.h" | |
| 17 #include "chrome/browser/content_settings/local_shared_objects_container.h" | 16 #include "chrome/browser/content_settings/local_shared_objects_container.h" |
| 18 #include "chrome/common/custom_handlers/protocol_handler.h" | 17 #include "chrome/common/custom_handlers/protocol_handler.h" |
| 19 #include "components/content_settings/core/browser/content_settings_observer.h" | 18 #include "components/content_settings/core/browser/content_settings_observer.h" |
| 19 #include "components/content_settings/core/browser/content_settings_usages_state
.h" |
| 20 #include "components/content_settings/core/common/content_settings.h" | 20 #include "components/content_settings/core/common/content_settings.h" |
| 21 #include "components/content_settings/core/common/content_settings_types.h" | 21 #include "components/content_settings/core/common/content_settings_types.h" |
| 22 #include "content/public/browser/web_contents_observer.h" | 22 #include "content/public/browser/web_contents_observer.h" |
| 23 #include "content/public/browser/web_contents_user_data.h" | 23 #include "content/public/browser/web_contents_user_data.h" |
| 24 #include "net/cookies/canonical_cookie.h" | 24 #include "net/cookies/canonical_cookie.h" |
| 25 | 25 |
| 26 class HostContentSettingsMap; | 26 class HostContentSettingsMap; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class RenderViewHost; | 29 class RenderViewHost; |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 std::string media_stream_requested_audio_device_; | 453 std::string media_stream_requested_audio_device_; |
| 454 std::string media_stream_requested_video_device_; | 454 std::string media_stream_requested_video_device_; |
| 455 | 455 |
| 456 // Observer to watch for content settings changed. | 456 // Observer to watch for content settings changed. |
| 457 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 457 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
| 458 | 458 |
| 459 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 459 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 460 }; | 460 }; |
| 461 | 461 |
| 462 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 462 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |