Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: blimp/engine/common/blimp_user_agent.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #include "blimp/engine/common/blimp_user_agent.h"
6
7 #include <string>
8
9 #include "components/version_info/version_info.h"
10 #include "content/public/common/user_agent.h"
11
12 namespace blimp {
13 namespace engine {
14
15 namespace {
16
17 std::string client_os_info = "Linux; Android 5.1.1";
18
19 } // namespace
20
21 std::string GetBlimpEngineUserAgent() {
22 return content::BuildUserAgentFromOSAndProduct(
23 client_os_info,
24 version_info::GetProductNameAndVersionForUserAgent() + " Mobile");
25 }
26
27 void SetClientOSInfo(std::string os_version_info) {
28 client_os_info = os_version_info;
29 }
30
31 } // namespace engine
32 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/common/blimp_user_agent.h ('k') | blimp/engine/feature/engine_render_widget_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698