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

Side by Side Diff: chrome/common/extensions/api/system_indicator/system_indicator_handler.h

Issue 105473003: Add explicit base namespace to string16 users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H _ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H _
6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H _ 6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H _
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "extensions/common/extension.h" 9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h" 10 #include "extensions/common/manifest_handler.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 // Parses the "system_indicator" manifest key. 14 // Parses the "system_indicator" manifest key.
15 class SystemIndicatorHandler : public ManifestHandler { 15 class SystemIndicatorHandler : public ManifestHandler {
16 public: 16 public:
17 SystemIndicatorHandler(); 17 SystemIndicatorHandler();
18 virtual ~SystemIndicatorHandler(); 18 virtual ~SystemIndicatorHandler();
19 19
20 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; 20 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
21 21
22 private: 22 private:
23 virtual const std::vector<std::string> Keys() const OVERRIDE; 23 virtual const std::vector<std::string> Keys() const OVERRIDE;
24 24
25 DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler); 25 DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler);
26 }; 26 };
27 27
28 } // namespace extensions 28 } // namespace extensions
29 29
30 #endif // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLE R_H_ 30 #endif // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698