/external/chromium/chrome/browser/content_settings/ |
H A D | content_settings_mock_provider.cc | 10 ContentSettingsType content_type, 14 : content_type_(content_type), 24 ContentSettingsType content_type) const { 25 return content_type == content_type_ ? setting_ : CONTENT_SETTING_DEFAULT; 29 ContentSettingsType content_type, 31 if (can_override_ && content_type == content_type_) 36 ContentSettingsType content_type) const { 37 return content_type == content_type_ && is_managed_; 54 ContentSettingsType content_type, 61 content_type_(content_type), 9 MockDefaultProvider( ContentSettingsType content_type, ContentSetting setting, bool is_managed, bool can_override) argument 28 UpdateDefaultSetting( ContentSettingsType content_type, ContentSetting setting) argument 52 MockProvider(ContentSettingsPattern requesting_url_pattern, ContentSettingsPattern embedding_url_pattern, ContentSettingsType content_type, ResourceIdentifier resource_identifier, ContentSetting setting, bool read_only, bool is_managed) argument 69 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument 82 SetContentSetting( const ContentSettingsPattern& requesting_url_pattern, const ContentSettingsPattern& embedding_url_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument [all...] |
H A D | content_settings_provider.h | 28 // |content_type|, or CONTENT_SETTING_DEFAULT if nothing be provided for this 31 ContentSettingsType content_type) const = 0; 34 // update the default setting for the given |content_type|. The provider may 36 virtual void UpdateDefaultSetting(ContentSettingsType content_type, 42 // True if the default setting for the |content_type| is policy managed, i.e., 45 ContentSettingsType content_type) const = 0; 71 // |content_type|. 73 ContentSettingsType content_type) = 0; 84 ContentSettingsType content_type, 88 // |embedding_pattern|, |content_type| tupl [all...] |
H A D | content_settings_mock_provider.h | 20 MockDefaultProvider(ContentSettingsType content_type, 28 ContentSettingsType content_type) const; 29 virtual void UpdateDefaultSetting(ContentSettingsType content_type, 32 virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const; 49 ContentSettingsType content_type, 62 ContentSettingsType content_type, 70 ContentSettingsType content_type, 75 ContentSettingsType content_type, 80 ContentSettingsType content_type) {} 101 void set_content_type(ContentSettingsType content_type) { argument 74 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument 79 ClearAllContentSettingsRules( ContentSettingsType content_type) argument 105 ContentSettingsType content_type() const { function in class:content_settings::MockProvider [all...] |
H A D | content_settings_base_provider.h | 41 static ContentSetting ClickToPlayFixup(ContentSettingsType content_type, 53 ContentSettingsType content_type) = 0; 58 ContentSettingsType content_type, 64 ContentSettingsType content_type, 69 ContentSettingsType content_type, 74 ContentSettingsType content_type) = 0; 79 // Returns true if the |content_type| requires a resource identifier. 81 ContentSettingsType content_type) const; 90 ContentSettingsType content_type,
|
H A D | content_settings_policy_provider.h | 37 ContentSettingsType content_type) const; 38 virtual void UpdateDefaultSetting(ContentSettingsType content_type, 41 virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const; 63 void UpdateManagedDefaultSetting(ContentSettingsType content_type); 96 ContentSettingsType content_type); 101 ContentSettingsType content_type, 108 ContentSettingsType content_type, 112 ContentSettingsType content_type); 136 ContentSettingsType content_type);
|
H A D | host_content_settings_map.h | 55 ContentSettingsType content_type) const; 65 ContentSettingsType content_type, 77 ContentSettingsType content_type, 102 void GetSettingsForOneType(ContentSettingsType content_type, 110 void SetDefaultContentSetting(ContentSettingsType content_type, 121 ContentSettingsType content_type, 132 ContentSettingsType content_type, 139 void ClearSettingsForOneType(ContentSettingsType content_type); 164 // Returns true if the default setting for the |content_type| is managed. 165 bool IsDefaultContentSettingManaged(ContentSettingsType content_type) cons [all...] |
H A D | content_settings_notification_provider.h | 39 ContentSettingsType content_type); 44 ContentSettingsType content_type, 50 ContentSettingsType content_type, 55 ContentSettingsType content_type, 60 ContentSettingsType content_type);
|
H A D | content_settings_base_provider.cc | 49 ContentSettingsType content_type) const { 52 return kRequiresResourceIdentifier[content_type]; 70 ContentSettingsType content_type, 75 if (!RequiresResourceIdentifier(content_type) || 76 (RequiresResourceIdentifier(content_type) && resource_identifier.empty())) 77 return GetNonDefaultContentSettings(requesting_url).settings[content_type]; 89 requested_setting(content_type, resource_identifier); 142 ContentSettingsType content_type, 151 content_type, resource_identifier); 157 if (RequiresResourceIdentifier(content_type)) { 67 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument 141 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument 230 UpdateContentSettingsMap( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument 244 ClickToPlayFixup(ContentSettingsType content_type, ContentSetting setting) argument [all...] |
H A D | content_settings_pref_provider.h | 40 ContentSettingsType content_type) const; 41 virtual void UpdateDefaultSetting(ContentSettingsType content_type, 44 virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const; 112 ContentSettingsType content_type); 117 ContentSettingsType content_type, 122 ContentSettingsType content_type);
|
H A D | host_content_settings_map.cc | 132 ContentSettingsType content_type) const { 138 (*provider)->ProvideDefaultSetting(content_type); 151 ContentSettingsType content_type, 154 content_type, 157 return GetDefaultContentSetting(content_type); 163 ContentSettingsType content_type, 175 url, url, content_type, resource_identifier); 176 bool isManaged = (*provider)->ContentSettingsTypeIsManaged(content_type); 214 ContentSettingsType content_type, 220 // Collect content_settings::Rules for the given content_type an 149 GetContentSetting( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier) const argument 161 GetNonDefaultContentSetting( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier) const argument 213 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, SettingsForOneType* settings) const argument 249 SetDefaultContentSetting( ContentSettingsType content_type, ContentSetting setting) argument 259 SetContentSetting( const ContentSettingsPattern& pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument 272 AddExceptionForURL( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument 280 content_type, local 284 content_type, local 289 ClearSettingsForOneType( ContentSettingsType content_type) argument [all...] |
H A D | content_settings_pref_provider.cc | 124 ContentSettingsType content_type) const { 126 return default_content_settings_.settings[content_type]; 130 ContentSettingsType content_type, 133 DCHECK(kTypeNames[content_type] != NULL); // Don't call this for Geolocation. 134 DCHECK(content_type != CONTENT_SETTINGS_TYPE_PLUGINS || 146 std::string dictionary_path(kTypeNames[content_type]); 153 (setting == kDefaultSettings[content_type])) { 154 default_content_settings_.settings[content_type] = 155 kDefaultSettings[content_type]; 159 default_content_settings_.settings[content_type] 129 UpdateDefaultSetting( ContentSettingsType content_type, ContentSetting setting) argument 376 ContentSettingsTypeIsManaged( ContentSettingsType content_type) argument 381 SetContentSetting( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting setting) argument 514 ClearAllContentSettingsRules( ContentSettingsType content_type) argument [all...] |
H A D | content_settings_policy_provider.cc | 44 ContentSettingsType content_type; member in struct:__anon1902::PrefsForManagedContentSettingsMapEntry 133 ContentSettingsType content_type) const { 135 return managed_default_content_settings_.settings[content_type]; 139 ContentSettingsType content_type, 144 ContentSettingsType content_type) const { 146 if (managed_default_content_settings_.settings[content_type] != 284 ContentSettingsType content_type) { 286 if (kPrefToManageType[content_type] == NULL) { 287 content_type_is_managed_[content_type] = false; 289 content_type_is_managed_[content_type] 138 UpdateDefaultSetting( ContentSettingsType content_type, ContentSetting setting) argument 283 ReadManagedContentSettingsTypes( ContentSettingsType content_type) argument 324 ContentSettingsTypeIsManaged( ContentSettingsType content_type) argument 385 SetContentSetting( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument 393 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument 405 ClearAllContentSettingsRules( ContentSettingsType content_type) argument [all...] |
/external/chromium/chrome/browser/ |
H A D | content_setting_bubble_model.cc | 30 ContentSettingsType content_type) 31 : ContentSettingBubbleModel(tab_contents, profile, content_type) { 33 DCHECK_NE(content_type, CONTENT_SETTINGS_TYPE_NOTIFICATIONS); 46 content_type()); 95 content_type()) && 97 content_type())) { 102 if (title_ids[content_type()]) 103 set_title(l10n_util::GetStringUTF8(title_ids[content_type()])); 119 set_manage_link(l10n_util::GetStringUTF8(kLinkIDs[content_type()])); 124 tab_contents()->delegate()->ShowContentSettingsPage(content_type()); 28 ContentSettingTitleAndLinkModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 131 ContentSettingTitleLinkAndCustomModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 165 ContentSettingSingleRadioGroup(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 314 ContentSettingCookiesBubbleModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 344 ContentSettingPluginBubbleModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 368 ContentSettingPopupBubbleModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 411 ContentSettingDomainListBubbleModel(TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 479 CreateContentSettingBubbleModel( TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument 503 ContentSettingBubbleModel( TabContents* tab_contents, Profile* profile, ContentSettingsType content_type) argument [all...] |
H A D | content_setting_combo_model.h | 16 explicit ContentSettingComboModel(ContentSettingsType content_type);
|
/external/chromium/chrome/browser/tab_contents/ |
H A D | tab_specific_content_settings.cc | 25 ContentSettingsType content_type) const { 26 DCHECK(content_type != CONTENT_SETTINGS_TYPE_GEOLOCATION) 28 DCHECK(content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS) 32 if (content_type == CONTENT_SETTINGS_TYPE_IMAGES || 33 content_type == CONTENT_SETTINGS_TYPE_JAVASCRIPT || 34 content_type == CONTENT_SETTINGS_TYPE_PLUGINS || 35 content_type == CONTENT_SETTINGS_TYPE_COOKIES || 36 content_type == CONTENT_SETTINGS_TYPE_POPUPS) 37 return content_blocked_[content_type]; 44 ContentSettingsType content_type) cons 48 SetBlockageHasBeenIndicated( ContentSettingsType content_type) argument 73 AddBlockedResource( ContentSettingsType content_type, const std::string& resource_identifier) argument [all...] |
H A D | tab_specific_content_settings.h | 65 bool IsContentBlocked(ContentSettingsType content_type) const; 68 bool IsBlockageIndicated(ContentSettingsType content_type) const; 70 void SetBlockageHasBeenIndicated(ContentSettingsType content_type); 74 bool IsContentAccessed(ContentSettingsType content_type) const; 77 ContentSettingsType content_type) const; 163 void AddBlockedResource(ContentSettingsType content_type,
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
H A D | transportchannelimpl.h | 46 TransportChannelImpl(const std::string& name, const std::string& content_type) argument 47 : TransportChannel(name, content_type) {}
|
H A D | sessionmanager.cc | 60 void SessionManager::AddClient(const std::string& content_type, argument 62 ASSERT(client_map_.find(content_type) == client_map_.end()); 63 client_map_[content_type] = client; 66 void SessionManager::RemoveClient(const std::string& content_type) { argument 67 ClientMap::iterator iter = client_map_.find(content_type); 72 SessionClient* SessionManager::GetClient(const std::string& content_type) { argument 73 ClientMap::iterator iter = client_map_.find(content_type); 78 const std::string& content_type) { 81 content_type, false); 86 const std::string& sid, const std::string& content_type, 77 CreateSession(const std::string& local_name, const std::string& content_type) argument 84 CreateSession( const std::string& local_name, const std::string& initiator_name, const std::string& sid, const std::string& content_type, bool received_initiate) argument 168 std::string content_type; local [all...] |
H A D | transportchannel.h | 44 TransportChannel(const std::string& name, const std::string &content_type) argument 45 : name_(name), content_type_(content_type), 51 const std::string& content_type() const { return content_type_; } function in class:cricket::TransportChannel
|
/external/chromium/net/tools/fetch/ |
H A D | http_server_response_info.h | 28 std::string content_type; member in class:HttpServerResponseInfo
|
H A D | http_session.cc | 30 response_info.content_type = "text/plain";
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
H A D | jsonfilter.py | 24 content_type = 'text/javascript' 28 content_type = 'text/plain' 30 content_type = self.mime_type 32 ('Content-type', content_type),
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
H A D | test_results_uploader.py | 51 (content_type, body) ready for httplib.HTTP instance. 80 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY 81 return content_type, body 90 content_type, data = _encode_multipart_form_data(attrs, file_objs) 91 headers = {"Content-Type": content_type}
|
/external/webkit/Tools/TestResultServer/handlers/ |
H A D | dashboardhandler.py | 63 content_type = "%s; charset=utf-8" % get_content_type(filename) 64 logging.info("content type: %s", content_type) 65 self.response.headers["Content-Type"] = content_type
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | http_post_provider_interface.h | 32 // |content_type| is a null-terminated MIME type specifier. 36 virtual void SetPostPayload(const char* content_type,
|