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"
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