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

Side by Side Diff: content/browser/media/media_internals_handler.h

Issue 102593002: Convert string16 to base::string16 in content. (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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_
6 #define CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_ 6 #define CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/web_ui_message_handler.h" 10 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 12 matching lines...) Expand all
23 MediaInternalsMessageHandler(); 23 MediaInternalsMessageHandler();
24 virtual ~MediaInternalsMessageHandler(); 24 virtual ~MediaInternalsMessageHandler();
25 25
26 // WebUIMessageHandler implementation. 26 // WebUIMessageHandler implementation.
27 virtual void RegisterMessages() OVERRIDE; 27 virtual void RegisterMessages() OVERRIDE;
28 28
29 // Javascript message handlers. 29 // Javascript message handlers.
30 void OnGetEverything(const base::ListValue* list); 30 void OnGetEverything(const base::ListValue* list);
31 31
32 // MediaInternals message handlers. 32 // MediaInternals message handlers.
33 void OnUpdate(const string16& update); 33 void OnUpdate(const base::string16& update);
34 34
35 private: 35 private:
36 scoped_refptr<MediaInternalsProxy> proxy_; 36 scoped_refptr<MediaInternalsProxy> proxy_;
37 37
38 // Reflects whether the chrome://media-internals HTML+JS has finished loading. 38 // Reflects whether the chrome://media-internals HTML+JS has finished loading.
39 // If not, it's not safe to send JavaScript calls targeting the page yet. 39 // If not, it's not safe to send JavaScript calls targeting the page yet.
40 bool page_load_complete_; 40 bool page_load_complete_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(MediaInternalsMessageHandler); 42 DISALLOW_COPY_AND_ASSIGN(MediaInternalsMessageHandler);
43 }; 43 };
44 44
45 } // namespace content 45 } // namespace content
46 46
47 #endif // CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_ 47 #endif // CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_internals.cc ('k') | content/browser/media/media_internals_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698