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

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

Issue 10381097: Move content settings extension API to content_settings dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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
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/extensions/extension_content_settings_api.h" 5 #include "chrome/browser/content_settings/extension_content_settings_api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/content_settings/cookie_settings.h" 12 #include "chrome/browser/content_settings/cookie_settings.h"
13 #include "chrome/browser/content_settings/extension_content_settings_api_constan ts.h"
14 #include "chrome/browser/content_settings/extension_content_settings_helpers.h"
15 #include "chrome/browser/content_settings/extension_content_settings_store.h"
13 #include "chrome/browser/content_settings/host_content_settings_map.h" 16 #include "chrome/browser/content_settings/host_content_settings_map.h"
14 #include "chrome/browser/extensions/extension_content_settings_api_constants.h"
15 #include "chrome/browser/extensions/extension_content_settings_helpers.h"
16 #include "chrome/browser/extensions/extension_content_settings_store.h"
17 #include "chrome/browser/extensions/extension_preference_api_constants.h" 17 #include "chrome/browser/extensions/extension_preference_api_constants.h"
18 #include "chrome/browser/extensions/extension_preference_helpers.h" 18 #include "chrome/browser/extensions/extension_preference_helpers.h"
19 #include "chrome/browser/extensions/extension_service.h" 19 #include "chrome/browser/extensions/extension_service.h"
20 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
22 #include "chrome/common/extensions/extension_error_utils.h" 22 #include "chrome/common/extensions/extension_error_utils.h"
23 #include "content/public/browser/plugin_service.h" 23 #include "content/public/browser/plugin_service.h"
24 #include "webkit/plugins/npapi/plugin_group.h" 24 #include "webkit/plugins/npapi/plugin_group.h"
25 25
26 using content::BrowserThread; 26 using content::BrowserThread;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 BrowserThread::PostTask( 299 BrowserThread::PostTask(
300 BrowserThread::UI, FROM_HERE, base::Bind( 300 BrowserThread::UI, FROM_HERE, base::Bind(
301 &GetResourceIdentifiersFunction::SendResponse, this, true)); 301 &GetResourceIdentifiersFunction::SendResponse, this, true));
302 } 302 }
303 303
304 // static 304 // static
305 void GetResourceIdentifiersFunction::SetPluginGroupsForTesting( 305 void GetResourceIdentifiersFunction::SetPluginGroupsForTesting(
306 const std::vector<webkit::npapi::PluginGroup>* plugin_groups) { 306 const std::vector<webkit::npapi::PluginGroup>* plugin_groups) {
307 g_testing_plugin_groups_ = plugin_groups; 307 g_testing_plugin_groups_ = plugin_groups;
308 } 308 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698