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

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

Issue 15906011: Use a direct include of strings headers in chrome/browser/r*-s*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sessions/session_types_unittest.cc ('k') | chrome/browser/shell_integration.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_INTEGRATION_H_ 5 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_
6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_ 6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/string16.h" 13 #include "base/strings/string16.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "ui/gfx/image/image_family.h" 15 #include "ui/gfx/image/image_family.h"
16 16
17 class CommandLine; 17 class CommandLine;
18 18
19 class ShellIntegration { 19 class ShellIntegration {
20 public: 20 public:
21 // Sets Chrome as the default browser (only for the current user). Returns 21 // Sets Chrome as the default browser (only for the current user). Returns
22 // false if this operation fails. 22 // false if this operation fails.
23 static bool SetAsDefaultBrowser(); 23 static bool SetAsDefaultBrowser();
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // Set Chrome as the default handler for this protocol. 331 // Set Chrome as the default handler for this protocol.
332 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; 332 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE;
333 333
334 std::string protocol_; 334 std::string protocol_;
335 335
336 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); 336 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker);
337 }; 337 };
338 }; 338 };
339 339
340 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ 340 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_types_unittest.cc ('k') | chrome/browser/shell_integration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698