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

Side by Side Diff: chrome/common/common_param_traits.cc

Issue 10577028: Move the mixed scripting infobar to a page action icon / content setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
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 #include "chrome/common/common_param_traits.h" 5 #include "chrome/common/common_param_traits.h"
6 6
7 #include "ipc/ipc_message.h" 7 #include "ipc/ipc_message.h"
8 #include "ipc/ipc_message_utils.h" 8 #include "ipc/ipc_message_utils.h"
9 9
10 namespace IPC { 10 namespace IPC {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 break; 85 break;
86 case CONTENT_SETTINGS_TYPE_GEOLOCATION: 86 case CONTENT_SETTINGS_TYPE_GEOLOCATION:
87 setting_type = "CONTENT_SETTINGS_TYPE_GEOLOCATION"; 87 setting_type = "CONTENT_SETTINGS_TYPE_GEOLOCATION";
88 break; 88 break;
89 case CONTENT_SETTINGS_TYPE_NOTIFICATIONS: 89 case CONTENT_SETTINGS_TYPE_NOTIFICATIONS:
90 setting_type = "CONTENT_SETTINGS_TYPE_NOTIFICATIONS"; 90 setting_type = "CONTENT_SETTINGS_TYPE_NOTIFICATIONS";
91 break; 91 break;
92 case CONTENT_SETTINGS_TYPE_INTENTS: 92 case CONTENT_SETTINGS_TYPE_INTENTS:
93 setting_type = "CONTENT_SETTINGS_TYPE_INTENTS"; 93 setting_type = "CONTENT_SETTINGS_TYPE_INTENTS";
94 break; 94 break;
95 case CONTENT_SETTINGS_TYPE_MIXEDSCRIPT:
96 setting_type = "CONTENT_SETTINGS_TYPE_MIXEDSCRIPT";
97 break;
95 default: 98 default:
96 setting_type = "UNKNOWN"; 99 setting_type = "UNKNOWN";
97 break; 100 break;
98 } 101 }
99 LogParam(setting_type, l); 102 LogParam(setting_type, l);
100 } 103 }
101 104
102 } // namespace IPC 105 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698