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

Side by Side Diff: webkit/plugins/npapi/plugin_utils.cc

Issue 16739016: Use a direct include of strings headers in webkit/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing include from ordering 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 | « webkit/plugins/npapi/plugin_utils.h ('k') | webkit/plugins/npapi/test/plugin_arguments_test.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) 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 #include "webkit/plugins/npapi/plugin_utils.h" 5 #include "webkit/plugins/npapi/plugin_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/string_util.h"
10 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
10 #include "base/strings/string_util.h"
11 #include "base/version.h" 11 #include "base/version.h"
12 12
13 namespace webkit { 13 namespace webkit {
14 namespace npapi { 14 namespace npapi {
15 15
16 // Global variable used by the plugin quirk "die after unload". 16 // Global variable used by the plugin quirk "die after unload".
17 bool g_forcefully_terminate_plugin_process = false; 17 bool g_forcefully_terminate_plugin_process = false;
18 18
19 void CreateVersionFromString(const base::string16& version_string, 19 void CreateVersionFromString(const base::string16& version_string,
20 Version* parsed_version) { 20 Version* parsed_version) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void SetForcefullyTerminatePluginProcess(bool value) { 58 void SetForcefullyTerminatePluginProcess(bool value) {
59 g_forcefully_terminate_plugin_process = value; 59 g_forcefully_terminate_plugin_process = value;
60 } 60 }
61 61
62 bool ShouldForcefullyTerminatePluginProcess() { 62 bool ShouldForcefullyTerminatePluginProcess() {
63 return g_forcefully_terminate_plugin_process; 63 return g_forcefully_terminate_plugin_process;
64 } 64 }
65 65
66 } // namespace npapi 66 } // namespace npapi
67 } // namespace webkit 67 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_utils.h ('k') | webkit/plugins/npapi/test/plugin_arguments_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698