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

Side by Side Diff: chrome/browser/update_client/chrome_update_query_params_delegate.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « chrome/browser/unload_browsertest.cc ('k') | chrome/browser/upgrade_detector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_
6 #define CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_ 6 #define CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "components/update_client/update_query_params_delegate.h" 11 #include "components/update_client/update_query_params_delegate.h"
11 12
12 class ChromeUpdateQueryParamsDelegate 13 class ChromeUpdateQueryParamsDelegate
13 : public update_client::UpdateQueryParamsDelegate { 14 : public update_client::UpdateQueryParamsDelegate {
14 public: 15 public:
15 ChromeUpdateQueryParamsDelegate(); 16 ChromeUpdateQueryParamsDelegate();
16 ~ChromeUpdateQueryParamsDelegate() override; 17 ~ChromeUpdateQueryParamsDelegate() override;
17 18
18 // Gets the LazyInstance for ChromeUpdateQueryParamsDelegate. 19 // Gets the LazyInstance for ChromeUpdateQueryParamsDelegate.
19 static ChromeUpdateQueryParamsDelegate* GetInstance(); 20 static ChromeUpdateQueryParamsDelegate* GetInstance();
20 21
21 // update_client::UpdateQueryParamsDelegate: 22 // update_client::UpdateQueryParamsDelegate:
22 std::string GetExtraParams() override; 23 std::string GetExtraParams() override;
23 24
24 // Returns the language for the present locale. Possible return values are 25 // Returns the language for the present locale. Possible return values are
25 // standard tags for languages, such as "en", "en-US", "de", "fr", "af", etc. 26 // standard tags for languages, such as "en", "en-US", "de", "fr", "af", etc.
26 static const char* GetLang(); 27 static const char* GetLang();
27 28
28 private: 29 private:
29 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateQueryParamsDelegate); 30 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateQueryParamsDelegate);
30 }; 31 };
31 32
32 #endif // CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_ 33 #endif // CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/unload_browsertest.cc ('k') | chrome/browser/upgrade_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698