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

Side by Side Diff: content/shell/shell_message_filter.h

Issue 12208057: Add explicit base to FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « content/shell/shell_main_delegate.cc ('k') | content/shell/shell_message_filter.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) 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 CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_
6 #define CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_ 6 #define CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "content/public/browser/browser_message_filter.h" 13 #include "content/public/browser/browser_message_filter.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class ShellMessageFilter : public BrowserMessageFilter { 17 class ShellMessageFilter : public BrowserMessageFilter {
18 public: 18 public:
19 explicit ShellMessageFilter(int render_process_id); 19 explicit ShellMessageFilter(int render_process_id);
20 20
21 private: 21 private:
22 virtual ~ShellMessageFilter(); 22 virtual ~ShellMessageFilter();
23 23
24 // BrowserMessageFilter implementation. 24 // BrowserMessageFilter implementation.
25 virtual bool OnMessageReceived(const IPC::Message& message, 25 virtual bool OnMessageReceived(const IPC::Message& message,
26 bool* message_was_ok) OVERRIDE; 26 bool* message_was_ok) OVERRIDE;
27 27
28 void OnReadFileToString(const FilePath& local_file, std::string* contents); 28 void OnReadFileToString(const base::FilePath& local_file,
29 std::string* contents);
29 void OnRegisterIsolatedFileSystem( 30 void OnRegisterIsolatedFileSystem(
30 const std::vector<FilePath>& absolute_filenames, 31 const std::vector<base::FilePath>& absolute_filenames,
31 std::string* filesystem_id); 32 std::string* filesystem_id);
32 33
33 int render_process_id_; 34 int render_process_id_;
34 35
35 DISALLOW_COPY_AND_ASSIGN(ShellMessageFilter); 36 DISALLOW_COPY_AND_ASSIGN(ShellMessageFilter);
36 }; 37 };
37 38
38 } // namespace content 39 } // namespace content
39 40
40 #endif // CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_ 41 #endif // CONTENT_SHELL_SHELL_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | content/shell/shell_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698