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

Side by Side Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/content_settings/host_content_settings_map.h" 5 #include "chrome/browser/content_settings/host_content_settings_map.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/content_settings/content_settings_details.h" 11 #include "chrome/browser/content_settings/content_settings_details.h"
12 #include "chrome/browser/metrics/user_metrics.h" 12 #include "chrome/browser/metrics/user_metrics.h"
13 #include "chrome/browser/prefs/pref_service.h" 13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/prefs/scoped_pref_update.h" 15 #include "chrome/browser/prefs/scoped_pref_update.h"
16 #include "chrome/common/notification_service.h" 16 #include "chrome/common/notification_service.h"
17 #include "chrome/common/notification_source.h" 17 #include "chrome/common/notification_source.h"
18 #include "chrome/common/notification_type.h" 18 #include "chrome/common/notification_type.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
21 #include "chrome/common/url_constants.h" 21 #include "chrome/common/url_constants.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "googleurl/src/url_canon.h" 23 #include "googleurl/src/url_canon.h"
24 #include "googleurl/src/url_parse.h" 24 #include "googleurl/src/url_parse.h"
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 } 1102 }
1103 1103
1104 for (size_t i = 0; i < move_items.size(); ++i) { 1104 for (size_t i = 0; i < move_items.size(); ++i) {
1105 Value* pattern_settings_dictionary = NULL; 1105 Value* pattern_settings_dictionary = NULL;
1106 all_settings_dictionary->RemoveWithoutPathExpansion( 1106 all_settings_dictionary->RemoveWithoutPathExpansion(
1107 move_items[i].first, &pattern_settings_dictionary); 1107 move_items[i].first, &pattern_settings_dictionary);
1108 all_settings_dictionary->SetWithoutPathExpansion( 1108 all_settings_dictionary->SetWithoutPathExpansion(
1109 move_items[i].second, pattern_settings_dictionary); 1109 move_items[i].second, pattern_settings_dictionary);
1110 } 1110 }
1111 } 1111 }
OLDNEW
« no previous file with comments | « chrome/browser/content_setting_image_model_unittest.cc ('k') | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698