OLD | NEW |
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 <limits.h> |
5 #include <stddef.h> | 6 #include <stddef.h> |
6 #include <stdint.h> | 7 #include <stdint.h> |
7 | 8 |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/prefs/pref_service.h" | 13 #include "base/prefs/pref_service.h" |
13 #include "base/strings/pattern.h" | 14 #include "base/strings/pattern.h" |
14 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
(...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1749 EXPECT_TRUE( | 1750 EXPECT_TRUE( |
1750 base::MatchPattern(error, manifest_errors::kCannotAccessChromeUrl)); | 1751 base::MatchPattern(error, manifest_errors::kCannotAccessChromeUrl)); |
1751 | 1752 |
1752 // chrome.tabs.setZoomSettings(). | 1753 // chrome.tabs.setZoomSettings(). |
1753 error = RunSetZoomSettingsExpectError(tab_id, "manual", "per-tab"); | 1754 error = RunSetZoomSettingsExpectError(tab_id, "manual", "per-tab"); |
1754 EXPECT_TRUE( | 1755 EXPECT_TRUE( |
1755 base::MatchPattern(error, manifest_errors::kCannotAccessChromeUrl)); | 1756 base::MatchPattern(error, manifest_errors::kCannotAccessChromeUrl)); |
1756 } | 1757 } |
1757 | 1758 |
1758 } // namespace extensions | 1759 } // namespace extensions |
OLD | NEW |