summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/google/google_brand.h
blob: 632fcd3f85e1b1106addb54421e3264c23132c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 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.

#ifndef IOS_CHROME_BROWSER_GOOGLE_GOOGLE_BRAND_H_
#define IOS_CHROME_BROWSER_GOOGLE_GOOGLE_BRAND_H_

#include <string>

namespace ios {
namespace google_brand {

// Returns in |brand| the brand code or distribution tag that has been assigned
// to a partner. Returns false if the information is not available.
bool GetBrand(std::string* brand);

// True if a build is strictly organic, according to its brand code.
bool IsOrganic(const std::string& brand);

}  // namespace google_brand
}  // namespace ios

#endif  // IOS_CHROME_BROWSER_GOOGLE_GOOGLE_BRAND_H_