Searched refs:VersionInfo (Results 1 - 25 of 157) sorted by relevance

1234567

/external/chromium_org/chrome/common/extensions/features/
H A Dfeature_channel.cc7 using chrome::VersionInfo;
11 const VersionInfo::Channel kDefaultChannel = VersionInfo::CHANNEL_STABLE;
12 VersionInfo::Channel g_current_channel = kDefaultChannel;
18 VersionInfo::Channel GetCurrentChannel() {
22 void SetCurrentChannel(VersionInfo::Channel channel) {
26 VersionInfo::Channel GetDefaultChannel() {
H A Dfeature_channel.h13 chrome::VersionInfo::Channel GetCurrentChannel();
16 // process this should be chrome::VersionInfo::GetChannel(), and in the
18 void SetCurrentChannel(chrome::VersionInfo::Channel channel);
21 chrome::VersionInfo::Channel GetDefaultChannel();
26 explicit ScopedCurrentChannel(chrome::VersionInfo::Channel channel)
27 : original_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {
37 chrome::VersionInfo::Channel original_channel_;
H A Dchrome_channel_feature_filter_unittest.cc20 using chrome::VersionInfo;
35 VersionInfo::Channel channel_for_testing) {
58 : current_channel_(VersionInfo::CHANNEL_UNKNOWN) {}
72 IsAvailableInChannel("stable", VersionInfo::CHANNEL_UNKNOWN));
74 IsAvailableInChannel("stable", VersionInfo::CHANNEL_CANARY));
76 IsAvailableInChannel("stable", VersionInfo::CHANNEL_DEV));
78 IsAvailableInChannel("stable", VersionInfo::CHANNEL_BETA));
80 IsAvailableInChannel("stable", VersionInfo::CHANNEL_STABLE));
84 IsAvailableInChannel("beta", VersionInfo::CHANNEL_UNKNOWN));
86 IsAvailableInChannel("beta", VersionInfo
[all...]
H A Dchrome_channel_feature_filter.cc23 channels["trunk"] = chrome::VersionInfo::CHANNEL_UNKNOWN;
24 channels["canary"] = chrome::VersionInfo::CHANNEL_CANARY;
25 channels["dev"] = chrome::VersionInfo::CHANNEL_DEV;
26 channels["beta"] = chrome::VersionInfo::CHANNEL_BETA;
27 channels["stable"] = chrome::VersionInfo::CHANNEL_STABLE;
30 std::map<std::string, chrome::VersionInfo::Channel> channels;
35 std::string GetChannelName(chrome::VersionInfo::Channel channel) {
36 typedef std::map<std::string, chrome::VersionInfo::Channel> ChannelsMap;
46 chrome::VersionInfo::Channel GetChannelValue(const std::string& name) {
47 typedef std::map<std::string, chrome::VersionInfo
[all...]
/external/chromium_org/chrome/common/
H A Dchrome_version_info_chromeos.cc9 static VersionInfo::Channel chromeos_channel = VersionInfo::CHANNEL_UNKNOWN;
12 std::string VersionInfo::GetVersionStringModifier() {
31 VersionInfo::Channel VersionInfo::GetChannel() {
36 void VersionInfo::SetChannel(const std::string& channel) {
H A Dchrome_version_info.cc18 std::string VersionInfo::ProductNameAndVersionForUserAgent() const {
28 VersionInfo::VersionInfo() { function in class:chrome::VersionInfo
34 VersionInfo::~VersionInfo() {
37 bool VersionInfo::is_valid() const {
41 std::string VersionInfo::Name() const {
47 std::string VersionInfo::Version() const {
53 std::string VersionInfo::LastChange() const {
59 bool VersionInfo
71 VersionInfo::VersionInfo() { function in class:chrome::VersionInfo
[all...]
H A Dchrome_version_info_posix.cc17 VersionInfo::Channel GetChannelImpl(std::string* modifier_out) {
18 VersionInfo::Channel channel = VersionInfo::CHANNEL_UNKNOWN;
30 channel = VersionInfo::CHANNEL_STABLE;
33 channel = VersionInfo::CHANNEL_DEV;
35 channel = VersionInfo::CHANNEL_BETA;
50 std::string VersionInfo::GetVersionStringModifier() {
57 VersionInfo::Channel VersionInfo::GetChannel() {
H A Dchrome_version_info.h17 // An instance of chrome::VersionInfo has information about the
19 class VersionInfo { class in namespace:chrome
30 VersionInfo();
31 ~VersionInfo();
90 DISALLOW_COPY_AND_ASSIGN(VersionInfo);
H A Dterminate_on_heap_corruption_experiment_win.cc16 chrome::VersionInfo::Channel channel = chrome::VersionInfo::CHANNEL_UNKNOWN;
25 channel = chrome::VersionInfo::GetChannel();
28 channel = chrome::VersionInfo::GetChannel();
31 if (channel == chrome::VersionInfo::CHANNEL_CANARY) {
H A Dchrome_version_info_android.cc14 std::string VersionInfo::GetVersionStringModifier() {
27 VersionInfo::Channel VersionInfo::GetChannel() {
H A Dchrome_version_info_win.cc19 std::string VersionInfo::GetVersionStringModifier() {
41 VersionInfo::Channel VersionInfo::GetChannel() {
/external/chromium_org/chrome/browser/sync/glue/
H A Dchrome_report_unrecoverable_error.cc16 chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
17 if (channel != chrome::VersionInfo::CHANNEL_CANARY &&
18 channel != chrome::VersionInfo::CHANNEL_DEV) {
H A Dlocal_device_info_provider_impl.cc16 // Converts VersionInfo::Channel to string for user-agent string.
17 std::string ChannelToString(chrome::VersionInfo::Channel channel) {
19 case chrome::VersionInfo::CHANNEL_UNKNOWN:
21 case chrome::VersionInfo::CHANNEL_CANARY:
23 case chrome::VersionInfo::CHANNEL_DEV:
25 case chrome::VersionInfo::CHANNEL_BETA:
27 case chrome::VersionInfo::CHANNEL_STABLE:
69 const chrome::VersionInfo& version_info) {
91 DLOG(ERROR) << "Unable to create chrome::VersionInfo object";
140 chrome::VersionInfo version_inf
[all...]
/external/chromium_org/chrome/browser/omaha_query_params/
H A Dchrome_omaha_query_params_delegate.cc39 chrome::VersionInfo().Version().c_str(),
45 switch (chrome::VersionInfo::GetChannel()) {
46 case chrome::VersionInfo::CHANNEL_STABLE:
49 case chrome::VersionInfo::CHANNEL_BETA:
52 case chrome::VersionInfo::CHANNEL_DEV:
55 case chrome::VersionInfo::CHANNEL_CANARY:
58 case chrome::VersionInfo::CHANNEL_UNKNOWN:
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Denvironment_data_collection.cc24 chrome::VersionInfo::Channel channel) {
25 typedef chrome::VersionInfo VersionInfo; typedef
28 case VersionInfo::CHANNEL_CANARY:
30 case VersionInfo::CHANNEL_DEV:
32 case VersionInfo::CHANNEL_BETA:
34 case VersionInfo::CHANNEL_STABLE:
43 chrome::VersionInfo version_info;
45 // TODO(grt): Move this logic into VersionInfo (it also appears in
57 MapChannelToProtobuf(chrome::VersionInfo
[all...]
/external/chromium_org/chrome/browser/media/
H A Dchrome_webrtc_disable_encryption_flag_browsertest.cc16 using chrome::VersionInfo;
23 // by e.g. faking the channel returned in VersionInfo::GetChannel(). It's
75 VersionInfo::Channel channel = VersionInfo::GetChannel();
76 if (channel == VersionInfo::CHANNEL_UNKNOWN ||
77 channel == VersionInfo::CHANNEL_CANARY ||
78 channel == VersionInfo::CHANNEL_DEV) {
82 if (channel == VersionInfo::CHANNEL_BETA)
/external/chromium_org/chrome/browser/extensions/api/idltest/
H A Didltest_apitest.cc12 ExtensionIdltestApiTest() : trunk_(chrome::VersionInfo::CHANNEL_UNKNOWN) {}
/external/chromium_org/chrome/browser/services/gcm/
H A Dgcm_desktop_utils.cc46 chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
48 case chrome::VersionInfo::CHANNEL_UNKNOWN:
50 case chrome::VersionInfo::CHANNEL_CANARY:
52 case chrome::VersionInfo::CHANNEL_DEV:
54 case chrome::VersionInfo::CHANNEL_BETA:
56 case chrome::VersionInfo::CHANNEL_STABLE:
65 chrome::VersionInfo version_info;
84 chrome::VersionInfo version_info;
/external/chromium_org/chrome/browser/
H A Dchrome_browser_field_trials_mobile.cc37 chrome::VersionInfo::GetChannel() == chrome::VersionInfo::CHANNEL_STABLE;
H A Dsxs_linux.cc29 chrome::VersionInfo::Channel product_channel(
30 chrome::VersionInfo::GetChannel());
32 case chrome::VersionInfo::CHANNEL_UNKNOWN: {
40 chrome::VersionInfo::GetVersionStringModifier());
44 case chrome::VersionInfo::CHANNEL_CANARY:
47 case chrome::VersionInfo::CHANNEL_DEV:
50 case chrome::VersionInfo::CHANNEL_BETA:
53 case chrome::VersionInfo::CHANNEL_STABLE:
H A Dchrome_content_browser_client_unittest.cc47 void MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::Channel channel) {
61 MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_UNKNOWN);
66 MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_CANARY);
71 MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_DEV);
76 MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_BETA);
85 MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_STABLE);
/external/chromium_org/gpu/config/
H A Dgpu_control_list_version_info_unittest.cc15 typedef GpuControlList::VersionInfo VersionInfo; typedef in class:gpu::VersionInfoTest
35 VersionInfo info(op[i], std::string(), string1, string2);
45 VersionInfo info("=", style[i], "8.9", std::string());
68 VersionInfo info("=", std::string(), number[i], std::string());
85 VersionInfo info(op[i], std::string(), "8.9", std::string());
92 VersionInfo info(op[i], std::string(), std::string(), std::string());
99 VersionInfo info(op[i], std::string(), "8.9", "9.0");
109 VersionInfo info("=", std::string(), number[i], std::string());
116 VersionInfo inf
[all...]
/external/chromium_org/chrome/browser/android/
H A Dbrowser_version.cc16 return chrome::VersionInfo().IsOfficialBuild();
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dchrome_manifest_test.cc14 : current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {}
/external/apache-http/src/org/apache/http/util/
H A DVersionInfo.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/util/VersionInfo.java $
62 public class VersionInfo { class
101 protected VersionInfo(String pckg, String module, method in class:VersionInfo
180 sb.append("VersionInfo(")
209 public final static VersionInfo[] loadVersionInfo(String[] pckgs,
218 VersionInfo vi = loadVersionInfo(pckgs[i], clsldr);
223 return (VersionInfo[]) vil.toArray(new VersionInfo[vil.size()]);
239 public final static VersionInfo loadVersionInfo(final String pckg,
268 VersionInfo resul
[all...]

Completed in 1146 milliseconds

1234567