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

Side by Side Diff: chrome/browser/ui/find_bar/find_bar_state.h

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/ui/browser_list.h ('k') | chrome/browser/ui/views/browser_actions_container.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Stores per-profile state needed for find in page. This includes the most 5 // Stores per-profile state needed for find in page. This includes the most
6 // recently searched for term. 6 // recently searched for term.
7 7
8 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_ 8 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_
9 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_ 9 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_
10 #pragma once 10 #pragma once
(...skipping 10 matching lines...) Expand all
21 21
22 string16 last_prepopulate_text() const { 22 string16 last_prepopulate_text() const {
23 return last_prepopulate_text_; 23 return last_prepopulate_text_;
24 } 24 }
25 25
26 void set_last_prepopulate_text(const string16& text) { 26 void set_last_prepopulate_text(const string16& text) {
27 last_prepopulate_text_ = text; 27 last_prepopulate_text_ = text;
28 } 28 }
29 29
30 // Retrieves the last prepopulate text for a given Profile. If the profile is 30 // Retrieves the last prepopulate text for a given Profile. If the profile is
31 // off the record and has an empty prepopulate text, falls back to the 31 // incognito and has an empty prepopulate text, falls back to the
32 // prepopulate text from the normal profile. 32 // prepopulate text from the normal profile.
33 static string16 GetLastPrepopulateText(Profile* profile); 33 static string16 GetLastPrepopulateText(Profile* profile);
34 34
35 private: 35 private:
36 string16 last_prepopulate_text_; 36 string16 last_prepopulate_text_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(FindBarState); 38 DISALLOW_COPY_AND_ASSIGN(FindBarState);
39 }; 39 };
40 40
41 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_ 41 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_STATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_list.h ('k') | chrome/browser/ui/views/browser_actions_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698