Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / cocoa_test_helper.mm
blob0d6e5ed279cab5c022025d00d7dea38f28a98dd4
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
3 // found in the LICENSE file.
5 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
7 #include "base/mac/bundle_locations.h"
8 #include "base/path_service.h"
9 #include "chrome/common/chrome_constants.h"
11 CocoaTest::CocoaTest() {
12   BootstrapCocoa();
14   Init();
17 void CocoaTest::BootstrapCocoa() {
18   // Look in the framework bundle for resources.
19   base::FilePath path;
20   PathService::Get(base::DIR_EXE, &path);
21   path = path.Append(chrome::kFrameworkName);
22   base::mac::SetOverrideFrameworkBundlePath(path);