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

Side by Side Diff: chrome/browser/automation/automation_util.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 "chrome/browser/automation/automation_util.h" 5 #include "chrome/browser/automation/automation_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 #include "content/public/browser/browser_thread.h" 31 #include "content/public/browser/browser_thread.h"
32 #include "content/public/browser/render_process_host.h" 32 #include "content/public/browser/render_process_host.h"
33 #include "content/public/browser/render_view_host.h" 33 #include "content/public/browser/render_view_host.h"
34 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
35 #include "net/base/cookie_monster.h" 35 #include "net/base/cookie_monster.h"
36 #include "net/base/cookie_store.h" 36 #include "net/base/cookie_store.h"
37 #include "net/url_request/url_request_context.h" 37 #include "net/url_request/url_request_context.h"
38 #include "net/url_request/url_request_context_getter.h" 38 #include "net/url_request/url_request_context_getter.h"
39 39
40 using content::BrowserThread; 40 using content::BrowserThread;
41 using content::RenderViewHost;
41 using content::WebContents; 42 using content::WebContents;
42 43
43 namespace { 44 namespace {
44 45
45 void GetCookiesCallback(base::WaitableEvent* event, 46 void GetCookiesCallback(base::WaitableEvent* event,
46 std::string* cookies, 47 std::string* cookies,
47 const std::string& cookie_line) { 48 const std::string& cookie_line) {
48 *cookies = cookie_line; 49 *cookies = cookie_line;
49 event->Signal(); 50 event->Signal();
50 } 51 }
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 const Extension* extension; 536 const Extension* extension;
536 return GetExtensionForId(id, profile, &extension); 537 return GetExtensionForId(id, profile, &extension);
537 } 538 }
538 default: 539 default:
539 break; 540 break;
540 } 541 }
541 return false; 542 return false;
542 } 543 }
543 544
544 } // namespace automation_util 545 } // namespace automation_util
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_util.h ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698