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

Side by Side Diff: content/browser/media/media_internals.cc

Issue 16625010: Use a direct include of strings headers in content/browser/, part 2. (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
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 #include "content/browser/media/media_internals.h" 5 #include "content/browser/media/media_internals.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "content/public/browser/web_ui.h" 11 #include "content/public/browser/web_ui.h"
12 #include "media/base/media_log.h" 12 #include "media/base/media_log.h"
13 #include "media/base/media_log_event.h" 13 #include "media/base/media_log_event.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 MediaInternals* MediaInternals::GetInstance() { 17 MediaInternals* MediaInternals::GetInstance() {
18 return Singleton<MediaInternals>::get(); 18 return Singleton<MediaInternals>::get();
19 } 19 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 return; 122 return;
123 123
124 std::vector<const base::Value*> args; 124 std::vector<const base::Value*> args;
125 args.push_back(value); 125 args.push_back(value);
126 string16 update = WebUI::GetJavascriptCall(function, args); 126 string16 update = WebUI::GetJavascriptCall(function, args);
127 for (size_t i = 0; i < update_callbacks_.size(); i++) 127 for (size_t i = 0; i < update_callbacks_.size(); i++)
128 update_callbacks_[i].Run(update); 128 update_callbacks_[i].Run(update);
129 } 129 }
130 130
131 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/media_internals.h ('k') | content/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698