31 lines
781 B
C++
31 lines
781 B
C++
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE-CHROMIUM file.
|
|
|
|
#ifndef __brightray__main_delegate__
|
|
#define __brightray__main_delegate__
|
|
|
|
#include "base/compiler_specific.h"
|
|
#include "base/memory/scoped_ptr.h"
|
|
#include "content/public/app/content_main_delegate.h"
|
|
|
|
namespace brightray {
|
|
|
|
class MainDelegate : public content::ContentMainDelegate {
|
|
public:
|
|
MainDelegate();
|
|
~MainDelegate();
|
|
|
|
private:
|
|
#if defined(OS_MACOSX)
|
|
static void OverrideChildProcessPath();
|
|
static void OverrideFrameworkBundlePath();
|
|
#endif
|
|
|
|
virtual void PreSandboxStartup() OVERRIDE;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(MainDelegate);
|
|
};
|
|
|
|
}
|
|
#endif /* defined(__brightray__main_delegate__) */
|