Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / extensions / shell / browser / geolocation / geolocation_apitest.cc
blobf44c1ab3b6ff1433a2b962ab36365029e853f1e8
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/shell/test/shell_apitest.h"
7 namespace extensions {
9 IN_PROC_BROWSER_TEST_F(ShellApiTest,
10 ExtensionGeolocationShouldReturnPermissionDenied) {
11 // app_shell does not implement CreateAccessTokenStore() and the other
12 // bits for proper Geolocation support. We make sure that clients of this
13 // API will always get "permission denied" and won't crash.
14 ASSERT_TRUE(RunAppTest("geolocation/always_permission_denied")) << message_;
17 } // namespace extensions