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

Side by Side Diff: chrome/browser/obsolete_system/obsolete_system.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | chrome/browser/obsolete_system/obsolete_system_linux.cc » ('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_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_
6 #define CHROME_BROWSER_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_ 6 #define CHROME_BROWSER_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 10
11 class ObsoleteSystem { 11 class ObsoleteSystem {
12 public: 12 public:
13 // true if the system is already considered obsolete, or if it'll be 13 // true if the system is already considered obsolete, or if it'll be
14 // considered obsolete soon. Used to control whether to show messaging about 14 // considered obsolete soon. Used to control whether to show messaging about
15 // deprecation within the app. 15 // deprecation within the app.
16 static bool IsObsoleteNowOrSoon(); 16 static bool IsObsoleteNowOrSoon();
17 17
18 // Returns a localized string informing users that their system will either 18 // Returns a localized string informing users that their system will either
19 // soon be unsupported by future versions of the application, or that they 19 // soon be unsupported by future versions of the application, or that they
20 // are already using the last version of the application that supports their 20 // are already using the last version of the application that supports their
21 // system. Do not use the returned string unless IsObsoleteNowOrSoon() returns 21 // system. Do not use the returned string unless IsObsoleteNowOrSoon() returns
22 // true. 22 // true.
23 static base::string16 LocalizedObsoleteString(); 23 static base::string16 LocalizedObsoleteString();
24 24
25 // true if this is the final release. This is only valid when 25 // true if this is the final release. This is only valid when
26 // IsObsoleteNowOrSoon() returns true. 26 // IsObsoleteNowOrSoon() returns true.
27 static bool IsEndOfTheLine(); 27 static bool IsEndOfTheLine();
28 28
29 // A help URL to explain the deprecation. Do not use the returned string 29 // A help URL to explain the deprecation. Do not use the returned string
30 // unless IsObsoleteNowOrSoon() returns true. 30 // unless IsObsoleteNowOrSoon() returns true.
31 static const char* GetLinkURL(); 31 static const char* GetLinkURL();
32 32
33 private: 33 private:
34 DISALLOW_IMPLICIT_CONSTRUCTORS(ObsoleteSystem); 34 DISALLOW_IMPLICIT_CONSTRUCTORS(ObsoleteSystem);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_ 37 #endif // CHROME_BROWSER_OBSOLETE_SYSTEM_OBSOLETE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/obsolete_system/obsolete_system_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698