OLD | NEW |
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/plugin/plugin_channel.h" | 5 #include "content/plugin/plugin_channel.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/process_util.h" | 9 #include "base/process/process_handle.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "content/child/child_process.h" | 14 #include "content/child/child_process.h" |
15 #include "content/child/npapi/plugin_instance.h" | 15 #include "content/child/npapi/plugin_instance.h" |
16 #include "content/child/plugin_messages.h" | 16 #include "content/child/plugin_messages.h" |
17 #include "content/common/plugin_process_messages.h" | 17 #include "content/common/plugin_process_messages.h" |
18 #include "content/plugin/plugin_thread.h" | 18 #include "content/plugin/plugin_thread.h" |
19 #include "content/plugin/webplugin_delegate_stub.h" | 19 #include "content/plugin/webplugin_delegate_stub.h" |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 : base::StringPrintf("\"%s\"", site_str); | 323 : base::StringPrintf("\"%s\"", site_str); |
324 VLOG(1) << "NPP_ClearSiteData(" << site_name << ", " << flags << ", " | 324 VLOG(1) << "NPP_ClearSiteData(" << site_name << ", " << flags << ", " |
325 << max_age << ") returned " << err; | 325 << max_age << ") returned " << err; |
326 success = (err == NPERR_NO_ERROR); | 326 success = (err == NPERR_NO_ERROR); |
327 } | 327 } |
328 } | 328 } |
329 Send(new PluginProcessHostMsg_ClearSiteDataResult(success)); | 329 Send(new PluginProcessHostMsg_ClearSiteDataResult(success)); |
330 } | 330 } |
331 | 331 |
332 } // namespace content | 332 } // namespace content |
OLD | NEW |