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

Side by Side Diff: chrome/browser/ui/webui/options2/content_settings_handler2.cc

Issue 10636019: Adding Application Data dialog for isolated apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on review by Bernhard. 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/browser/ui/webui/options2/content_settings_handler2.h" 5 #include "chrome/browser/ui/webui/options2/content_settings_handler2.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Cookies filter. 366 // Cookies filter.
367 { "cookies_tab_label", IDS_COOKIES_TAB_LABEL }, 367 { "cookies_tab_label", IDS_COOKIES_TAB_LABEL },
368 { "cookies_header", IDS_COOKIES_HEADER }, 368 { "cookies_header", IDS_COOKIES_HEADER },
369 { "cookies_allow", IDS_COOKIES_ALLOW_RADIO }, 369 { "cookies_allow", IDS_COOKIES_ALLOW_RADIO },
370 { "cookies_block", IDS_COOKIES_BLOCK_RADIO }, 370 { "cookies_block", IDS_COOKIES_BLOCK_RADIO },
371 { "cookies_session_only", IDS_COOKIES_SESSION_ONLY_RADIO }, 371 { "cookies_session_only", IDS_COOKIES_SESSION_ONLY_RADIO },
372 { "cookies_block_3rd_party", IDS_COOKIES_BLOCK_3RDPARTY_CHKBOX }, 372 { "cookies_block_3rd_party", IDS_COOKIES_BLOCK_3RDPARTY_CHKBOX },
373 { "cookies_clear_when_close", IDS_COOKIES_CLEAR_WHEN_CLOSE_CHKBOX }, 373 { "cookies_clear_when_close", IDS_COOKIES_CLEAR_WHEN_CLOSE_CHKBOX },
374 { "cookies_lso_clear_when_close", IDS_COOKIES_LSO_CLEAR_WHEN_CLOSE_CHKBOX }, 374 { "cookies_lso_clear_when_close", IDS_COOKIES_LSO_CLEAR_WHEN_CLOSE_CHKBOX },
375 { "cookies_show_cookies", IDS_COOKIES_SHOW_COOKIES_BUTTON }, 375 { "cookies_show_cookies", IDS_COOKIES_SHOW_COOKIES_BUTTON },
376 { "cookies_show_app_cookies", IDS_COOKIES_SHOW_APP_COOKIES_BUTTON },
376 { "flash_storage_settings", IDS_FLASH_STORAGE_SETTINGS }, 377 { "flash_storage_settings", IDS_FLASH_STORAGE_SETTINGS },
377 { "flash_storage_url", IDS_FLASH_STORAGE_URL }, 378 { "flash_storage_url", IDS_FLASH_STORAGE_URL },
378 // Image filter. 379 // Image filter.
379 { "images_tab_label", IDS_IMAGES_TAB_LABEL }, 380 { "images_tab_label", IDS_IMAGES_TAB_LABEL },
380 { "images_header", IDS_IMAGES_HEADER }, 381 { "images_header", IDS_IMAGES_HEADER },
381 { "images_allow", IDS_IMAGES_LOAD_RADIO }, 382 { "images_allow", IDS_IMAGES_LOAD_RADIO },
382 { "images_block", IDS_IMAGES_NOLOAD_RADIO }, 383 { "images_block", IDS_IMAGES_NOLOAD_RADIO },
383 // JavaScript filter. 384 // JavaScript filter.
384 { "javascript_tab_label", IDS_JAVASCRIPT_TAB_LABEL }, 385 { "javascript_tab_label", IDS_JAVASCRIPT_TAB_LABEL },
385 { "javascript_header", IDS_JAVASCRIPT_HEADER }, 386 { "javascript_header", IDS_JAVASCRIPT_HEADER },
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 for (size_t i = 0; i < arraysize(kExContentSettingsTypeGroupNames); ++i) { 1328 for (size_t i = 0; i < arraysize(kExContentSettingsTypeGroupNames); ++i) {
1328 if (type == kExContentSettingsTypeGroupNames[i].type) 1329 if (type == kExContentSettingsTypeGroupNames[i].type)
1329 return kExContentSettingsTypeGroupNames[i].name; 1330 return kExContentSettingsTypeGroupNames[i].name;
1330 } 1331 }
1331 1332
1332 NOTREACHED(); 1333 NOTREACHED();
1333 return std::string(); 1334 return std::string();
1334 } 1335 }
1335 1336
1336 } // namespace options2 1337 } // namespace options2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698