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

Side by Side Diff: chrome/browser/chrome_plugin_host.cc

Issue 399068: Move base64 from 'net/base' into 'base'. (Closed)
Patch Set: rebase Created 11 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
« no previous file with comments | « base/base64_unittest.cc ('k') | chrome/browser/extensions/convert_user_script.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/chrome_plugin_host.h" 5 #include "chrome/browser/chrome_plugin_host.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/common/chrome_counters.h" 31 #include "chrome/common/chrome_counters.h"
32 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/chrome_plugin_lib.h" 33 #include "chrome/common/chrome_plugin_lib.h"
34 #include "chrome/common/chrome_plugin_util.h" 34 #include "chrome/common/chrome_plugin_util.h"
35 #include "chrome/common/chrome_switches.h" 35 #include "chrome/common/chrome_switches.h"
36 #include "chrome/common/gears_api.h" 36 #include "chrome/common/gears_api.h"
37 #include "chrome/common/notification_service.h" 37 #include "chrome/common/notification_service.h"
38 #include "chrome/common/net/url_request_intercept_job.h" 38 #include "chrome/common/net/url_request_intercept_job.h"
39 #include "chrome/common/plugin_messages.h" 39 #include "chrome/common/plugin_messages.h"
40 #include "chrome/common/render_messages.h" 40 #include "chrome/common/render_messages.h"
41 #include "net/base/base64.h"
42 #include "net/base/cookie_monster.h" 41 #include "net/base/cookie_monster.h"
43 #include "net/base/io_buffer.h" 42 #include "net/base/io_buffer.h"
44 #include "net/base/net_errors.h" 43 #include "net/base/net_errors.h"
45 #include "net/url_request/url_request_context.h" 44 #include "net/url_request/url_request_context.h"
46 #include "net/url_request/url_request_error_job.h" 45 #include "net/url_request/url_request_error_job.h"
47 #include "third_party/skia/include/core/SkBitmap.h" 46 #include "third_party/skia/include/core/SkBitmap.h"
48 47
49 48
50 using base::TimeDelta; 49 using base::TimeDelta;
51 50
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 CPBrowsingContext context) { 815 CPBrowsingContext context) {
817 // Sadly if we try and pass context through, we seem to break cl's little 816 // Sadly if we try and pass context through, we seem to break cl's little
818 // brain trying to compile the Tuple3 ctor. This cast works. 817 // brain trying to compile the Tuple3 ctor. This cast works.
819 int32 context_as_int32 = static_cast<int32>(context); 818 int32 context_as_int32 = static_cast<int32>(context);
820 // Plugins can only be accessed on the IO thread. 819 // Plugins can only be accessed on the IO thread.
821 ChromeThread::PostTask( 820 ChromeThread::PostTask(
822 ChromeThread::IO, FROM_HERE, 821 ChromeThread::IO, FROM_HERE,
823 NewRunnableFunction(PluginCommandHandler::HandleCommand, 822 NewRunnableFunction(PluginCommandHandler::HandleCommand,
824 command, data, context_as_int32)); 823 command, data, context_as_int32));
825 } 824 }
OLDNEW
« no previous file with comments | « base/base64_unittest.cc ('k') | chrome/browser/extensions/convert_user_script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698