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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs.cc

Issue 11826048: Revert 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/extensions/api/tabs/tabs.h" 5 #include "chrome/browser/extensions/api/tabs/tabs.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after
1877 // called for every API call the extension made. 1877 // called for every API call the extension made.
1878 GotLanguage(language); 1878 GotLanguage(language);
1879 } 1879 }
1880 1880
1881 void DetectTabLanguageFunction::GotLanguage(const std::string& language) { 1881 void DetectTabLanguageFunction::GotLanguage(const std::string& language) {
1882 SetResult(Value::CreateStringValue(language.c_str())); 1882 SetResult(Value::CreateStringValue(language.c_str()));
1883 SendResponse(true); 1883 SendResponse(true);
1884 1884
1885 Release(); // Balanced in Run() 1885 Release(); // Balanced in Run()
1886 } 1886 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs.h ('k') | chrome/browser/extensions/api/tabs/tabs_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698