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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 288053002: Block content scripts from executing until user grants permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CQ Time! Created 6 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
« no previous file with comments | « no previous file | chrome/browser/extensions/active_script_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1629 1629
1630 // Please keep this in alphabetical order. 1630 // Please keep this in alphabetical order.
1631 static const char* const kSwitchNames[] = { 1631 static const char* const kSwitchNames[] = {
1632 autofill::switches::kDisableIgnoreAutocompleteOff, 1632 autofill::switches::kDisableIgnoreAutocompleteOff,
1633 autofill::switches::kDisablePasswordGeneration, 1633 autofill::switches::kDisablePasswordGeneration,
1634 autofill::switches::kEnablePasswordGeneration, 1634 autofill::switches::kEnablePasswordGeneration,
1635 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1635 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1636 extensions::switches::kAllowHTTPBackgroundPage, 1636 extensions::switches::kAllowHTTPBackgroundPage,
1637 extensions::switches::kAllowLegacyExtensionManifests, 1637 extensions::switches::kAllowLegacyExtensionManifests,
1638 extensions::switches::kEnableExperimentalExtensionApis, 1638 extensions::switches::kEnableExperimentalExtensionApis,
1639 extensions::switches::kEnableScriptsRequireAction,
1639 extensions::switches::kExtensionsOnChromeURLs, 1640 extensions::switches::kExtensionsOnChromeURLs,
1640 extensions::switches::kWhitelistedExtensionID, 1641 extensions::switches::kWhitelistedExtensionID,
1641 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO 1642 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
1642 // to browser. 1643 // to browser.
1643 switches::kAllowNaClFileHandleAPI, 1644 switches::kAllowNaClFileHandleAPI,
1644 switches::kAppsCheckoutURL, 1645 switches::kAppsCheckoutURL,
1645 switches::kAppsGalleryURL, 1646 switches::kAppsGalleryURL,
1646 switches::kCloudPrintURL, 1647 switches::kCloudPrintURL,
1647 switches::kCloudPrintXmppEndpoint, 1648 switches::kCloudPrintXmppEndpoint,
1648 switches::kDisableBundledPpapiFlash, 1649 switches::kDisableBundledPpapiFlash,
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 switches::kDisableWebRtcEncryption, 2757 switches::kDisableWebRtcEncryption,
2757 }; 2758 };
2758 to_command_line->CopySwitchesFrom(from_command_line, 2759 to_command_line->CopySwitchesFrom(from_command_line,
2759 kWebRtcDevSwitchNames, 2760 kWebRtcDevSwitchNames,
2760 arraysize(kWebRtcDevSwitchNames)); 2761 arraysize(kWebRtcDevSwitchNames));
2761 } 2762 }
2762 } 2763 }
2763 #endif // defined(ENABLE_WEBRTC) 2764 #endif // defined(ENABLE_WEBRTC)
2764 2765
2765 } // namespace chrome 2766 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/active_script_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698