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

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

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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_EXTENSION_CONTENT_SETTINGS_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_EXTENSION_CONTENT_SETTINGS_API_H__
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 10
11 namespace webkit { 11 namespace webkit {
12 namespace npapi { 12 namespace npapi {
13 class PluginGroup; 13 class PluginGroup;
14 } 14 }
15 } 15 }
16 16
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 FRIEND_TEST_ALL_PREFIXES(ExtensionApiTest, 61 FRIEND_TEST_ALL_PREFIXES(ExtensionApiTest,
62 ContentSettingsGetResourceIdentifiers); 62 ContentSettingsGetResourceIdentifiers);
63 63
64 void OnGotPluginGroups(const std::vector<webkit::npapi::PluginGroup>& groups); 64 void OnGotPluginGroups(const std::vector<webkit::npapi::PluginGroup>& groups);
65 65
66 // Used to override the global plugin list in tests. 66 // Used to override the global plugin list in tests.
67 static void SetPluginGroupsForTesting( 67 static void SetPluginGroupsForTesting(
68 const std::vector<webkit::npapi::PluginGroup>* plugin_groups); 68 const std::vector<webkit::npapi::PluginGroup>* plugin_groups);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__ 71 #endif // CHROME_BROWSER_CONTENT_SETTINGS_EXTENSION_CONTENT_SETTINGS_API_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698