summaryrefslogtreecommitdiffstats
path: root/chrome/installer/gcapi/gcapi.cc
blob: 79382c9a7f31e0dae5bc6d7a901d432efcd72dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2006-2008 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 file.

#include "chrome/installer/gcapi/gcapi.h"

#include <windows.h>

DLLEXPORT BOOL __stdcall GoogleChromeCompatibilityCheck(DWORD *reasons) {
  BOOL result = TRUE;
  DWORD local_reasons = 0;

  // TODO(rahulk): Add all the checks we need before offering Google Chrome as
  // part of bundle downloads.

  // OS requirements

  // Check if it is already installed?

  // Privileges?

  if (reasons != NULL) {
    *reasons = local_reasons;
  }
  return result;
}