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

Side by Side Diff: mojo/common/user_agent.cc

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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 2015 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 "mojo/common/user_agent.h"
6
7 namespace mojo {
8 namespace common {
9
10 std::string GetUserAgent() {
11 // TODO(jam): change depending on OS
12 return "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.68 Safari/537.36";
13 }
14
15 } // namespace common
16 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/user_agent.h ('k') | mojo/mojo_base.gyp » ('j') | mojo/shell/shell_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698