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

Side by Side Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 120983002: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // virtual ~MyTask() { 65 // virtual ~MyTask() {
66 // } 66 // }
67 // virtual void OnURLFetchComplete(const net::URLFetcher* source, 67 // virtual void OnURLFetchComplete(const net::URLFetcher* source,
68 // const GURL& url, 68 // const GURL& url,
69 // const net::URLRequestStatus& status, 69 // const net::URLRequestStatus& status,
70 // int response, 70 // int response,
71 // const net::ResponseCookies& cookies, 71 // const net::ResponseCookies& cookies,
72 // const std::string& data) { 72 // const std::string& data) {
73 // bool enabled = response == 200; 73 // bool enabled = response == 200;
74 // const char* text = enabled ? "OK" : "ERROR"; 74 // const char* text = enabled ? "OK" : "ERROR";
75 // proxy_->UpdateMenuItem(id_, enabled, ASCIIToUTF16(text)); 75 // proxy_->UpdateMenuItem(id_, enabled, base::ASCIIToUTF16(text));
76 // } 76 // }
77 // void Start(const GURL* url, net::URLRequestContextGetter* context) { 77 // void Start(const GURL* url, net::URLRequestContextGetter* context) {
78 // fetcher_.reset(new URLFetcher(url, URLFetcher::GET, this)); 78 // fetcher_.reset(new URLFetcher(url, URLFetcher::GET, this));
79 // fetcher_->SetRequestContext(context); 79 // fetcher_->SetRequestContext(context);
80 // content::AssociateURLFetcherWithRenderView( 80 // content::AssociateURLFetcherWithRenderView(
81 // fetcher_.get(), 81 // fetcher_.get(),
82 // proxy_->GetRenderViewHost()->GetSiteInstance()->GetSite(), 82 // proxy_->GetRenderViewHost()->GetSiteInstance()->GetSite(),
83 // proxy_->GetRenderViewHost()->GetProcess()->GetID(), 83 // proxy_->GetRenderViewHost()->GetProcess()->GetID(),
84 // proxy_->GetRenderViewHost()->GetRoutingID()); 84 // proxy_->GetRenderViewHost()->GetRoutingID());
85 // fetcher_->Start(); 85 // fetcher_->Start();
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Guests are rendered inside chrome apps, but have most of the actions 294 // Guests are rendered inside chrome apps, but have most of the actions
295 // that a regular web page has. 295 // that a regular web page has.
296 // Currently actions/items that are suppressed from guests are: searching, 296 // Currently actions/items that are suppressed from guests are: searching,
297 // printing, speech and instant. 297 // printing, speech and instant.
298 bool is_guest_; 298 bool is_guest_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 300 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
301 }; 301 };
302 302
303 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 303 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/typed_urls_helper.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698