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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort 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
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/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 5 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
6 6
7 #include "third_party/khronos/GLES2/gl2.h" 7 #include "third_party/khronos/GLES2/gl2.h"
8 #ifndef GL_GLEXT_PROTOTYPES 8 #ifndef GL_GLEXT_PROTOTYPES
9 #define GL_GLEXT_PROTOTYPES 1 9 #define GL_GLEXT_PROTOTYPES 1
10 #endif 10 #endif
11 #include "third_party/khronos/GLES2/gl2ext.h" 11 #include "third_party/khronos/GLES2/gl2ext.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <set> 14 #include <set>
15 15
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/string_tokenizer.h"
19 #include "base/command_line.h" 18 #include "base/command_line.h"
20 #include "base/debug/trace_event.h" 19 #include "base/debug/trace_event.h"
21 #include "base/logging.h" 20 #include "base/logging.h"
22 #include "base/message_loop.h" 21 #include "base/message_loop.h"
23 #include "base/metrics/field_trial.h" 22 #include "base/metrics/field_trial.h"
24 #include "base/metrics/histogram.h" 23 #include "base/metrics/histogram.h"
25 #include "base/synchronization/lock.h" 24 #include "base/synchronization/lock.h"
26 #include "content/common/gpu/gpu_memory_allocation.h" 25 #include "content/common/gpu/gpu_memory_allocation.h"
27 #include "content/common/gpu/client/gpu_channel_host.h" 26 #include "content/common/gpu/client/gpu_channel_host.h"
28 #include "content/common/gpu/gpu_process_launch_causes.h" 27 #include "content/common/gpu/gpu_process_launch_causes.h"
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 1720
1722 void WebGraphicsContext3DCommandBufferImpl::OnErrorMessage( 1721 void WebGraphicsContext3DCommandBufferImpl::OnErrorMessage(
1723 const std::string& message, int id) { 1722 const std::string& message, int id) {
1724 if (error_message_callback_) { 1723 if (error_message_callback_) {
1725 WebKit::WebString str = WebKit::WebString::fromUTF8(message.c_str()); 1724 WebKit::WebString str = WebKit::WebString::fromUTF8(message.c_str());
1726 error_message_callback_->onErrorMessage(str, id); 1725 error_message_callback_->onErrorMessage(str, id);
1727 } 1726 }
1728 } 1727 }
1729 1728
1730 } // namespace content 1729 } // namespace content
OLDNEW
« no previous file with comments | « content/common/android/address_parser_internal.h ('k') | content/gpu/gpu_info_collector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698